xref: /dokuwiki/.htaccess.dist (revision 0440ff150cefe9088c8aa126e646f901c69a7793)
1## Enable this to restrict editing to logged in users only
2
3## You should disable Indexes and MultiViews either here or in the
4## global config
5#Options -Indexes -MultiViews
6
7## make sure nobody gets the htaccess files
8<Files ~ "^[\._]ht">
9    Order allow,deny
10    Deny from all
11    Satisfy All
12</Files>
13
14## Comment these rules in if you want to have nice URLs using
15## $conf['rewrite'] = 1 - not needed for rewrite mode 2
16#RewriteEngine on
17#RewriteRule ^_media/(.*)              lib/exe/fetch.php?media=$1  [QSA,L]
18#RewriteRule ^_detail/(.*)             lib/exe/detail.php?media=$1  [QSA,L]
19#RewriteRule ^$                        doku.php  [L]
20#RewriteCond %{REQUEST_FILENAME}       !-f
21#RewriteCond %{REQUEST_FILENAME}       !-d
22#RewriteRule (.*)                      doku.php?id=$1  [QSA,L]
23#RewriteRule ^index.php$               doku.php
24