blob: cb328dffae8b2638448b685c558e878e0a87fa00 (
plain)
1 README for usemod 1.x
2
3 REQUIREMENTS
4
5 PRE-INSTALL
6
7 POST-INSTALL
8
9 1. Add the following directives to httpd.conf:
10
11 <Directory /var/www/usemod/>
12 Options None
13 AllowOverride None
14 Order deny,allow
15 Deny from all
16 </Directory>
17
18 Alias /pub /var/www/usemod/pub/
19
20 <Directory /var/www/usemod/pub/>
21 Options None
22 Allow from all
23 </Directory>
24
25 2. If you have mod_perl installed, which gives an huge
26 performance boost, you should add this too:
27
28 LoadModule perl_module lib/apache/mod_perl.so
29
30 Alias /wiki /var/www/cgi-bin/wiki.pl
31
32 <Location /wiki>
33 SetHandler perl-script
34 PerlResponseHandler ModPerl::Registry
35 PerlOptions +ParseHeaders
36 Options ExecCGI
37 </Location>
38
39 3. Point you browser to http://<your_host_name>/wiki
40 (mod_perl) or http://<your_host_name>cgi-bin/wiki.pl
41 and enjoy ;-)
42
43 PRECAUTION
|