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/httpd.conf.in

    r22635 r23252  
    424424     Order deny,allow
    425425     **CONNECTPERMISSION** from all
    426      Allow from 127.0.0.1 **HOST_IP**
     426     Allow from 127.0.0.1 **HOST_IP** **HOSTS** localhost
    427427  </Directory>
    428428
     
    433433     Order deny,allow
    434434     **CONNECTPERMISSION** from all
    435      Allow from 127.0.0.1 **HOST_IP**
     435     Allow from 127.0.0.1 **HOST_IP** **HOSTS** localhost
    436436  </Directory> 
    437437 
     
    442442     Order deny,allow
    443443     **CONNECTPERMISSION** from all
    444      Allow from 127.0.0.1 **HOST_IP**
     444     Allow from 127.0.0.1 **HOST_IP** **HOSTS** localhost
    445445  </Directory>
Note: See TracChangeset for help on using the changeset viewer.