Changes between Version 11 and Version 12 of GIS/InstallationGuidelines/Linux


Ignore:
Timestamp:
09/01/10 15:32:02 (15 years ago)
Author:
Fran Boon
Comment:

Enable access to GeoServer on Port 80

Legend:

Unmodified
Added
Removed
Modified
  • GIS/InstallationGuidelines/Linux

    v11 v12  
    132132/etc/init.d/tomcat5.5 restart
    133133}}}
    134 
     134Enable access to !GeoServer on Port 80:
     135{{{
     136a2enmod proxy
     137a2enmod proxy_http
     138vim /etc/apache2/sites-available/geo
     139<VirtualHost *:80>
     140  ServerName geo.eden.sahanafoundation.org
     141  ServerAdmin webmaster@sahanafoundation.org
     142  DocumentRoot /var/www
     143
     144  ProxyPreserveHost on
     145  RewriteEngine On
     146  RewriteRule ^/geoserver/wfs ajp://localhost:8009/geoserver/wfs [P]
     147  ProxyPassReverse /geoserver/wfs ajp://localhost:8009/geoserver/wfs
     148  RewriteRule ^/geoserver/wms ajp://localhost:8009/geoserver/wms/ [P]
     149  ProxyPassReverse /geoserver/wms ajp://localhost:8009/geoserver/wms/
     150  RewriteRule ^/geowebcache/(.*)$ ajp://localhost:8009/geowebcache/$1 [P]
     151  ProxyPassReverse /geowebcache ajp://localhost:8009/geowebcache/
     152
     153  ErrorLog /var/log/apache2/geo_error.log
     154  LogLevel warn
     155  CustomLog /var/log/apache2/geo_access.log combined
     156</VirtualHost>
     157
     158a2ensite geo
     159/etc/init.d/apache2 restart
     160}}}
    135161== WMS/WFS ==
    136162=== [http://geoserver.org GeoServer] ===