]> git.sesse.net Git - pr0n/blob - doc/README
Add tweaks for Skøyen. I don't like having this part of bzr, though...
[pr0n] / doc / README
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.
6
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:
9
10 <VirtualHost *:8008>
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
15
16     LogLevel info
17     ErrorLog /var/log/apache2/error-pr0n.sesse.net.log
18     CustomLog /var/log/apache2/access-pr0n.sesse.net.log combined
19
20     ServerSignature On
21     PerlSwitches -wT
22     
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
29
30     # Share the loadavg module
31     PerlModule Sesse::pr0n::Overload
32
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
38
39     # All URLs are handled by the central pr0n module
40     <Location />
41         SetHandler modperl
42         PerlResponseHandler Sesse::pr0n::pr0n
43     </Location>                                            
44 </VirtualHost>
45
46 <VirtualHost *:443>
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
51
52     LogLevel info
53     ErrorLog /var/log/apache2/error-pr0n.sesse.net.log
54     CustomLog /var/log/apache2/access-pr0n.sesse.net.log combined
55
56     ServerSignature On
57     PerlSwitches -wT
58     
59     SSLEngine on
60     SSLCertificateFile ssl/pr0n.sesse.net.crt
61     SSLCertificateKeyFile ssl/pr0n.sesse.net.key
62     
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
69
70     # Share the loadavg module
71     PerlModule Sesse::pr0n::Overload
72
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
78
79     # All URLs are handled by the central pr0n module
80     <Location />
81         SetHandler modperl
82         PerlResponseHandler Sesse::pr0n::pr0n
83     </Location>                                            
84 </VirtualHost>
85