ServerAdmin admin@server.de DocumentRoot /opt/InteProxy-SERVER-1.0.5/server TransferLog /opt/InteProxy-SERVER-1.0.5/server/logs/access_log ErrorLog /opt/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 /opt/InteProxy-SERVER-1.0.5/server/conf/platform-suse.conf #Include /opt/InteProxy-SERVER-1.0.5/server/conf/platform-debian.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 /opt/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 ## Uncommented if not somewhere else defined #SSLEngine on #SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL #SSLCertificateFile /etc/apache2/ssl.crt/snakeoil-dsa.crt #SSLCertificateKeyFile /etc/apache2/ssl.key/snakeoil-dsa.key #SSLMutex commented because already defined in ssl.conf #SSLMutex default SSLProtocol all -SSLv2 SSLCipherSuite HIGH:MEDIUM:!ADH #uncommented because already defined in mods-available/ssl.conf #SSLRandomSeed startup builtin #SSLRandomSeed connect builtin