Changeset 28350


Ignore:
Timestamp:
2013-10-02T17:47:39+13:00 (11 years ago)
Author:
ak19
Message:

GLIapplet needed GS2's bin/java to be accessible from the browser in order to work again.

Location:
main/trunk/greenstone2/runtime-src/packages/apache-httpd
Files:
2 edited

Legend:

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

    r27014 r28350  
    445445  </Directory> 
    446446 
    447   # Deny access to all except collect and web folder
     447  # Deny access to all except collect, web, tmp and bin/java (for GLI-applet) folder
    448448  # http://httpd.apache.org/docs/2.2/mod/core.html#directory
    449449  <Directory />
     
    465465    Allow from 127.0.0.1 **HOST_IP** **HOSTS** localhost
    466466  </Directory>
     467
     468  Alias /greenstone/bin/java "**GSDLHOME**/bin/java"
     469  <Directory "**GSDLHOME**/bin/java">
     470    Order Deny,Allow
     471    **CONNECTPERMISSION** from all
     472    Allow from 127.0.0.1 **HOST_IP** **HOSTS** localhost
     473  </Directory>
  • main/trunk/greenstone2/runtime-src/packages/apache-httpd/windows-httpd.conf.in

    r27014 r28350  
    522522  </Directory>
    523523
    524   # Deny access to all except collect and web folder
     524  # Deny access to all except collect, web, tmp and bin/java (for GLI-applet) folder
     525  # http://httpd.apache.org/docs/2.2/mod/core.html#directory
    525526  <Directory />
    526527    Order Deny,Allow
     
    541542    Allow from 127.0.0.1 **HOST_IP** **HOSTS** localhost
    542543  </Directory>
     544
     545  Alias /greenstone/bin/java "**GSDLHOME**/bin/java"
     546  <Directory "**GSDLHOME**/bin/java">
     547    Order Deny,Allow
     548    **CONNECTPERMISSION** from all
     549    Allow from 127.0.0.1 **HOST_IP** **HOSTS** localhost
     550  </Directory>
     551 
Note: See TracChangeset for help on using the changeset viewer.