Created
July 7, 2015 12:54
-
-
Save waynegraham/03baf0278fc362cbfc56 to your computer and use it in GitHub Desktop.
Geoserver httpd configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerName geoserver.virginia.edu | |
DocumentRoot /path/to/a/document/root | |
ErrorLog logs/error_log | |
CustomLog logs/access_log common | |
<Directory /path/to/a/document/root> | |
# This relaxes Apache security settings. | |
AllowOverride all | |
# MultiViews must be turned off. | |
Options -MultiViews | |
</Directory> | |
<Location /geoserver> | |
ProxyPass http://localhost:8080/geoserver | |
ProxyPassReverse http://localhost:8080/geoserver | |
</Location> | |
<Location /geonetwork> | |
ProxyPass ajp://127.0.0.1:8009/geonetwork | |
</Location> | |
<Location /ows/wfs> | |
ProxyPass ajp://127.0.0.1:8009/geoserver/wfs?service=wfs&request=GetCapabilities | |
</Location> | |
<Location /ows/wms> | |
ProxyPass ajp://127.0.0.1:8009/geoserver/wms?service=wms&request=GetCapabilities | |
</Location> | |
ProxyPreserveHost On | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment