]> git.pld-linux.org Git - packages/dokuwiki.git/blob - dokuwiki-apache.conf
- build with php autodep solver
[packages/dokuwiki.git] / dokuwiki-apache.conf
1 Alias /dokuwiki /usr/share/dokuwiki
2 <Directory /usr/share/dokuwiki/>
3         Allow from all
4
5         <IfModule mod_rewrite.c>
6                 ## $conf['userewrite'] = 1 - not needed for rewrite mode 2
7                 RewriteEngine on
8
9                 ## Not all installations will require the following line.  If you do,
10                 ## change "/dokuwiki" to the path to your dokuwiki directory relative
11                 ## to your document root.
12                 RewriteBase /dokuwiki
13
14                 RewriteRule ^_media/(.*)              lib/exe/fetch.php?media=$1  [QSA,L]
15                 RewriteRule ^_detail/(.*)             lib/exe/detail.php?media=$1  [QSA,L]
16                 RewriteRule ^_export/([^/]+)/(.*)     doku.php?do=export_$1&id=$2  [QSA,L]
17                 RewriteRule ^$                        doku.php  [L]
18                 RewriteCond %{REQUEST_FILENAME}       !-f
19                 RewriteCond %{REQUEST_FILENAME}       !-d
20                 RewriteRule (.*)                      doku.php?id=$1  [QSA,L]
21                 RewriteRule ^index.php$               doku.php
22         </IfModule>
23
24         php_value memory_limit 24M
25 </Directory>
This page took 0.030441 seconds and 3 git commands to generate.