2. Confluence Docs 3.0 : General Apache Configuration Notes This page last changed on Sep 04, 2008 by smaddox. On this page: Prefer Apache mod_deflate to Confluence's built-in gzip implementation Ensure keepalive is enabled Enable keepalive for recent MSIE user agents ## Prefer Apache mod_deflate to Confluence's built-in gzip implementation Disable gzip in confluence. See Compressing an HTTP Response within Confluence. Enable gzip compression in Apache. For RedHat distributions this can be achieved by adding the following lines:
       AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript

       # ensure sensible defaults
       DeflateBufferSize 8192
       DeflateCompressionLevel 4
       DeflateMemLevel 9
       DeflateWindowSize 15
## Ensure keepalive is enabled
    KeepAlive On
## Enable keepalive for recent MSIE user agents The standard Apache SSL configuration is very conservative when it comes to MSIE and SSL. By default all keepalives are disabled when using HTTPS with MSIE. While MSIE will always be special, the issues with SSL and MSIE have been solved since Service Pack 2 for Windows XP, released over 4 years go. For anyone using an XP machine below SP2, it is safe to allow keepalive for MSIE 6 and above. Remove the following lines:
    SetEnvIf User-Agent ".*MSIE.*" \
       nokeepalive ssl-unclean-shutdown \
       downgrade-1.0 force-response-1.0
Add these in their place:
    BrowserMatch "MSIE [1-4]" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
    BrowserMatch "MSIE [5-9]" ssl-unclean-shutdown
##### RELATED TOPICS Running Confluence behind Apache Apache and Apache Connector Tips Configuring Tomcat's URI encoding Adding SSL for Secure Logins and Page Security

Document generated by Confluence on Nov 05, 2009 23:34