1 pr0n is copyright Steinar H. Gunderson <sgunderson@bigfoot.com>. Everything
2 (that includes the Perl code, the configuration snippets, the database schema,
3 the CSS, the templates, any HTML or JavaScript and any documentation, but _not_
4 any of the images on pr0n.sesse.net etc.) is licensed under the GNU General
5 Public License, version 2. For the full license text, see the COPYING file.
7 Documentation? Forget it; if you can't set it up, use something else. You can
8 have a typical Apache 2 vhost snippet, though:
11 ServerAdmin sgunderson@bigfoot.com
12 DocumentRoot /srv/pr0n.sesse.net
13 ServerName pr0n.sesse.net
14 ServerAlias pr0n.sesse.net bilder.knatten.com pannekake.samfundet.no
17 ErrorLog /var/log/apache2/error-pr0n.sesse.net.log
18 CustomLog /var/log/apache2/access-pr0n.sesse.net.log combined
23 # Keep this on during debugging
24 # PerlModule Apache2::Reload
25 # PerlInitHandler Apache2::Reload
26 # PerlSetVar ReloadAll Off
27 # PerlSetVar ReloadModules "Sesse::pr0n::*"
28 # PerlSetVar ReloadConstantRedefineWarnings Off
30 # Share the loadavg module
31 PerlModule Sesse::pr0n::Overload
33 PerlSetVar ImageBase /srv/pr0n.sesse.net/
34 PerlSetVar TemplateBase /srv/pr0n.sesse.net/templates
35 PerlSetVar OverloadMode Off
36 PerlSetVar OverloadEnableThreshold 100.0
37 PerlSetVar OverloadDisableThreshold 5.0
39 # All URLs are handled by the central pr0n module
42 PerlResponseHandler Sesse::pr0n::pr0n
47 ServerAdmin sgunderson@bigfoot.com
48 DocumentRoot /srv/pr0n.sesse.net
49 ServerName pr0n.sesse.net
50 ServerAlias pr0n.sesse.net bilder.knatten.com pannekake.samfundet.no
53 ErrorLog /var/log/apache2/error-pr0n.sesse.net.log
54 CustomLog /var/log/apache2/access-pr0n.sesse.net.log combined
60 SSLCertificateFile ssl/pr0n.sesse.net.crt
61 SSLCertificateKeyFile ssl/pr0n.sesse.net.key
63 # Keep this on during debugging
64 # PerlModule Apache2::Reload
65 # PerlInitHandler Apache2::Reload
66 # PerlSetVar ReloadAll Off
67 # PerlSetVar ReloadModules "Sesse::pr0n::*"
68 # PerlSetVar ReloadConstantRedefineWarnings Off
70 # Share the loadavg module
71 PerlModule Sesse::pr0n::Overload
73 PerlSetVar ImageBase /srv/pr0n.sesse.net/
74 PerlSetVar TemplateBase /srv/pr0n.sesse.net/templates
75 PerlSetVar OverloadMode Off
76 PerlSetVar OverloadEnableThreshold 100.0
77 PerlSetVar OverloadDisableThreshold 5.0
79 # All URLs are handled by the central pr0n module
82 PerlResponseHandler Sesse::pr0n::pr0n
86 Also, mod_deflate is recommended; just install it and use the default
87 configuration, and it will work transparently. (You might want to add
88 text/css and application/x-javascript to the list of compressed
89 formats, but it's not really _that_ important.)