-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
43 lines (33 loc) · 1.11 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
INSTALL
1) copy config.pl tjo 'tjo.pl', setup everything as wanted
2) ?
3) ?
4) ?
SAMPLE APACHE CONFIG
Remember to add correct path, also for ErrorLog, CustomLog and RewriteLog - otherwise apache will fail to restart!
<VirtualHost *>
ServerName local.handgranat.org
DocumentRoot /var/www/handgranat
# plz lat sta :3
ErrorLog /home/wiki/logs/wiki-error.log
CustomLog /home/wiki/logs/wiki-access.log combined
Options All ExecCGI
AddHandler cgi-script .cgi .pl
AddType application/ogg .ogg
AddType application/rdf+xml .rdf
AddType application/x-bittorrent .torrent
AddCharset ISO-8859-1 .html
DirectoryIndex wiki.pl
RewriteEngine On
RewriteLog /home/wiki/logs/handgranat-rewrite.log
RewriteLogLevel 0
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !.*nowiki.*
RewriteCond %{REQUEST_FILENAME} !.*wiki.pl*
RewriteRule ^/(.+) /wiki.pl?$1
</VirtualHost>
<Directory /var/www/handgranat>
Options all
</Directory>
TODO
* Complete translation to english