1 # Editor: vim:syn=apache
4 ServerAdmin $USER@$FQDN
5 DocumentRoot $PRODUCTIONDIR
9 CustomLog /var/log/apache2/$SITE.log combined
11 # Back end should only be accessed via SSL; bounce to enforce this
12 Redirect /$SITE/servlet/Mir https://$SECUREFQDN/$SITE/servlet/Mir
15 JkUriSet worker ajp13:localhost:8009
17 <Directory $PRODUCTIONDIR>
18 Options Indexes IncludesNoExec FollowSymLinks MultiViews
19 IndexOptions +SuppressHTMLPreamble +SuppressDescription
20 AddHandler server-parsed .html
21 AddType 'text/html; charset=utf-8' .html
26 # Apache gzip compression
28 # This is taken from here:
29 # http://httpd.apache.org/docs-2.0/mod/mod_deflate.html
31 SetOutputFilter DEFLATE
32 # Netscape 4.x has some problems...
33 BrowserMatch ^Mozilla/4 gzip-only-text/html
34 # Netscape 4.06-4.08 have some more problems
35 BrowserMatch ^Mozilla/4\.0[678] no-gzip
36 # MSIE masquerades as Netscape, but it is fine
37 BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
38 # Don't compress images
39 SetEnvIfNoCase Request_URI \
40 \.(?:gif|jpe?g|png)$ no-gzip dont-vary
41 # Make sure proxies don't deliver the wrong content
42 Header append Vary User-Agent env=!dont-vary