xref: /dokuwiki/.htaccess.dist (revision bb406e63a28e16160da6cc7a5bae60732425ef2a)
1## Enable this to restrict editing to logged in users only
2
3#disable indexes
4Options -Indexes
5
6## make sure nobody gets the htaccess files
7<Files ~ "^[\._]ht">
8    Order allow,deny
9    Deny from all
10    Satisfy All
11</Files>
12
13## Comment these rules in if you want to have nice URLs
14#RewriteEngine on
15#RewriteRule ^_media/(.*)              lib/exe/fetch.php?media=$1  [QSA,L]
16#RewriteRule ^_detail/(.*)             lib/exe/detail.php?media=$1  [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