view doc/d4e-apache.conf @ 8844:890f708b18d6

Encode print URL with GWT-means. The homebrew encoding partly resulted in URLs not accepted by Tomcat 7 due to the fix for CVE-2016-6816.
author Tom Gottfried <tom@intevation.de>
date Fri, 12 Jan 2018 17:07:42 +0100
parents 195233a91e04
children
line wrap: on
line source
<VirtualHost *:8081>
	ServerAdmin webmaster@localhost

	DocumentRoot /var/www
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory /var/www/>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
	</Directory>

	ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	<Directory "/usr/lib/cgi-bin">
		AllowOverride None
		Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
		Order allow,deny
		Allow from all
	</Directory>

	ProxyPass /d4e-river ajp://localhost:8009/d4e-river
	ProxyPassReverse /d4e-river ajp://localhost:8009/d4e-river

	ErrorLog /var/log/d4e-river/apache-error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /var/log/d4e-river/apache-access.log combined
</VirtualHost>

http://dive4elements.wald.intevation.org