-<VirtualHost *:8008>
- ServerAdmin sgunderson@bigfoot.com
- DocumentRoot /srv/pr0n.sesse.net
- ServerName pr0n.sesse.net
- ServerAlias pr0n.sesse.net bilder.knatten.com pannekake.samfundet.no
-
- LogLevel info
- ErrorLog /var/log/apache2/error-pr0n.sesse.net.log
- CustomLog /var/log/apache2/access-pr0n.sesse.net.log combined
-
- ServerSignature On
- PerlSwitches -wT
-
- # Keep this on during debugging
-# PerlModule Apache2::Reload
-# PerlInitHandler Apache2::Reload
-# PerlSetVar ReloadAll Off
-# PerlSetVar ReloadModules "Sesse::pr0n::*"
-# PerlSetVar ReloadConstantRedefineWarnings Off
-
- # Share the loadavg module
- PerlModule Sesse::pr0n::Overload
-
- PerlSetVar ImageBase /srv/pr0n.sesse.net/
- PerlSetVar TemplateBase /srv/pr0n.sesse.net/templates
- PerlSetVar OverloadMode Off
- PerlSetVar OverloadEnableThreshold 100.0
- PerlSetVar OverloadDisableThreshold 5.0
-
- # All URLs are handled by the central pr0n module
- <Location />
- SetHandler modperl
- PerlResponseHandler Sesse::pr0n::pr0n
- </Location>
-</VirtualHost>
-
-<VirtualHost *:443>
- ServerAdmin sgunderson@bigfoot.com
- DocumentRoot /srv/pr0n.sesse.net
- ServerName pr0n.sesse.net
- ServerAlias pr0n.sesse.net bilder.knatten.com pannekake.samfundet.no
-
- LogLevel info
- ErrorLog /var/log/apache2/error-pr0n.sesse.net.log
- CustomLog /var/log/apache2/access-pr0n.sesse.net.log combined
-
- ServerSignature On
- PerlSwitches -wT
-
- SSLEngine on
- SSLCertificateFile ssl/pr0n.sesse.net.crt
- SSLCertificateKeyFile ssl/pr0n.sesse.net.key
-
- # Keep this on during debugging
-# PerlModule Apache2::Reload
-# PerlInitHandler Apache2::Reload
-# PerlSetVar ReloadAll Off
-# PerlSetVar ReloadModules "Sesse::pr0n::*"
-# PerlSetVar ReloadConstantRedefineWarnings Off
-
- # Share the loadavg module
- PerlModule Sesse::pr0n::Overload
-
- PerlSetVar ImageBase /srv/pr0n.sesse.net/
- PerlSetVar TemplateBase /srv/pr0n.sesse.net/templates
- PerlSetVar OverloadMode Off
- PerlSetVar OverloadEnableThreshold 100.0
- PerlSetVar OverloadDisableThreshold 5.0
-
- # All URLs are handled by the central pr0n module
- <Location />
- SetHandler modperl
- PerlResponseHandler Sesse::pr0n::pr0n
- </Location>
-</VirtualHost>
-
-Also, mod_deflate is recommended; just install it and use the default
-configuration, and it will work transparently. (You might want to add
-text/css and application/x-javascript to the list of compressed
-formats, but it's not really _that_ important.)