Ignore:
Timestamp:
2010-10-29T21:30:10+13:00 (13 years ago)
Author:
sjm84
Message:

The localhost and hostname did not work on the Ubuntu here, but should have been working. It does work IF hostname and localhost are written into the httpd.conf file. To get it to do that, made changes to greenstone 3's server.jar code (Server2.java and Server2Settings.java), and so also regenerated server.jar itself, as well as GS2 scripts and config files (httpd.conf.in files for linux and windows), llssite.cfg.in, glisite.cfg.in and gsicontrol.bat and .sh.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/packages/apache-httpd/windows-httpd.conf.in

    r22613 r23252  
    489489     Order deny,allow
    490490     **CONNECTPERMISSION** from all
    491      Allow from 127.0.0.1 **HOST_IP**
     491     Allow from 127.0.0.1 **HOST_IP** **HOSTS** localhost
    492492  </Directory>
    493493 
     
    498498     Order deny,allow
    499499     **CONNECTPERMISSION** from all
    500      Allow from 127.0.0.1 **HOST_IP**
     500     Allow from 127.0.0.1 **HOST_IP** **HOSTS** localhost
    501501  </Directory>
    502502
     
    507507     Order deny,allow
    508508     **CONNECTPERMISSION** from all
    509      Allow from 127.0.0.1 **HOST_IP**
     509     Allow from 127.0.0.1 **HOST_IP** **HOSTS** localhost
    510510  </Directory>
Note: See TracChangeset for help on using the changeset viewer.