1 # Editor: vim:syn=apache
3 <VirtualHost $SECUREFQDN:443>
4 ServerAdmin $USER@$FQDN
5 DocumentRoot $PRODUCTIONDIR
9 SSLCertificateFile /etc/apache2/ssl/$SECUREFQDN.crt
10 SSLCertificateKeyFile /etc/apache2/ssl/$SECUREFQDN.key
13 JkUriSet worker ajp13:localhost:8009
15 <Directory $PRODUCTIONDIR>
16 Options Indexes IncludesNoExec FollowSymLinks MultiViews
17 IndexOptions +SuppressHTMLPreamble +SuppressDescription
18 AddHandler server-parsed .html
19 AddType 'text/html; charset=utf-8' .html
24 # Apache gzip compression
26 # This is taken from here:
27 # http://httpd.apache.org/docs-2.0/mod/mod_deflate.html
29 SetOutputFilter DEFLATE
30 # Netscape 4.x has some problems...
31 BrowserMatch ^Mozilla/4 gzip-only-text/html
32 # Netscape 4.06-4.08 have some more problems
33 BrowserMatch ^Mozilla/4\.0[678] no-gzip
34 # MSIE masquerades as Netscape, but it is fine
35 BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
36 # Don't compress images
37 SetEnvIfNoCase Request_URI \
38 \.(?:gif|jpe?g|png)$ no-gzip dont-vary
39 # Make sure proxies don't deliver the wrong content
40 Header append Vary User-Agent env=!dont-vary