ServerAdmin admin@server.de
DocumentRoot "conf/InteProxy-SERVER-1.0.5/server"
TransferLog "conf/InteProxy-SERVER-1.0.5/server/logs/access_log"
ErrorLog "conf/InteProxy-SERVER-1.0.5/server/logs/error_log"
# Required! Load required modules!
# To load the necessary Apache modules remove the comment
# before the include line that corresponds to your distribution.
Include "conf/InteProxy-SERVER-1.0.5/server/conf/platform-WindowsServer.conf"
# Intranet Proxy
ProxyRemote * http://intranet.proxy:8080
# Using a high trace log level for mod_rewrite will slow down your Apache HTTP
# Server dramatically! Use a log level higher than trace2 only for debugging!
# http://httpd.apache.org/docs/current/mod/mod_rewrite.html#Logging
LogLevel alert filter:alert rewrite:alert
# To get just the mod_rewrite-specific (Apache 2.2) log messages, pipe the log
# file through grep:
#
# tail -f error_log|fgrep '[rewrite:'
RewriteEngine On
# Define filter chain to rewrite URLs in WMS capabilities responses.
# WMS capabilities responses have the content type
# application/vnd.ogc.wms_xml. The slash in the content type value has
# to be expressed with the octal escape \057 because the slash has to be
# used as the delimeter of the regular expression
FilterProvider gzinflate INFLATE "%{resp:Content-Encoding} =~ /gzip/"
FilterProvider fixurls SUBSTITUTE "%{CONTENT_TYPE} =~ /(application\057vnd.ogc.wms_xml|application\057xml|application\057vnd.ogc.se_xml|text\057xml|text\057plain|text\057html)($|;)/"
FilterProvider gzdeflate DEFLATE "%{CONTENT_TYPE} =~ /(application\057vnd.ogc.wms_xml|application\057xml|application\057vnd.ogc.se_xml|text\057xml|text\057plain|text\057html)($|;)/"
FilterChain +gzinflate +fixurls +gzdeflate
# conf/inteproxy-rewrite.conf has to be generated if it doesn't exist
# yet (see README.txt). It contains the RewriteRules for the actual
# InteProxy functionality.
Include "conf/InteProxy-SERVER-1.0.5/server/conf/inteproxy-rewrite.conf"
# Deny all requests that have not been rewritten to refer to another
# host.
Require all denied
## SSL configuration.
## SSLProxyEngine must be on so that Apache can make
# https connections to other hosts.
SSLProxyEngine on
## SSLMutex cannot occur within section
## und bereits in conf/ssl.conf konfiguriert
#SSLMutex default
SSLProtocol all -SSLv2
SSLCipherSuite HIGH:MEDIUM:!ADH
## SSLRandomSeed cannot occur within section
## und bereits in conf/ssl.conf konfiguriert
#SSLRandomSeed startup builtin
#SSLRandomSeed connect builtin