Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 37 lines (33 sloc) 1.526 kB
65c9a64 @splitbrain htaccess update
splitbrain authored
1 ## Enable this to restrict editing to logged in users only
2
d5afc44 @splitbrain commented Options line in .htaccess.dist
splitbrain authored
3 ## You should disable Indexes and MultiViews either here or in the
604e4ef @splitbrain FollowSymLinks option as suggested in #723
splitbrain authored
4 ## global config. Symlinks maybe needed for URL rewriting.
5 #Options -Indexes -MultiViews +FollowSymLinks
4b5c52e @splitbrain .htaccess changes #302
splitbrain authored
6
3f803e5 @foosel FS#1878: Hide Dokuwiki version information from metadata and only sho…
foosel authored
7 ## make sure nobody gets the htaccess, README, COPYING or VERSION files
8 <Files ~ "^([\._]ht|README$|VERSION$|COPYING$)">
65c9a64 @splitbrain htaccess update
splitbrain authored
9 Order allow,deny
10 Deny from all
11 Satisfy All
12 </Files>
13
1dc3b3e @Chris--S bug#808, add RewriteBase to .htaccess.dist
Chris--S authored
14 ## Uncomment these rules if you want to have nice URLs using
e0e755d @splitbrain Fix userewrite note in htaccess (FS#1013)
splitbrain authored
15 ## $conf['userewrite'] = 1 - not needed for rewrite mode 2
65c9a64 @splitbrain htaccess update
splitbrain authored
16 #RewriteEngine on
1dc3b3e @Chris--S bug#808, add RewriteBase to .htaccess.dist
Chris--S authored
17 #
18 ## Not all installations will require the following line. If you do,
19 ## change "/dokuwiki" to the path to your dokuwiki directory relative
20 ## to your document root.
21 #RewriteBase /dokuwiki
22 #
630e442 XMLRPC: added https rewrite rules to .htaccess.dist
Michael Klier authored
23 ## If you enable DokuWikis XML-RPC interface, you should consider to
24 ## restrict access to it over HTTPS only! Uncomment the following two
25 ## rules if your server setup allows HTTPS.
26 #RewriteCond %{HTTPS} !=on
27 #RewriteRule ^lib/exe/xmlrpc.php$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R=301]
28 #
6de3759 @splitbrain URL rewriting for media files
splitbrain authored
29 #RewriteRule ^_media/(.*) lib/exe/fetch.php?media=$1 [QSA,L]
30 #RewriteRule ^_detail/(.*) lib/exe/detail.php?media=$1 [QSA,L]
f5c2808 rewrite export URLs
Ben Coburn authored
31 #RewriteRule ^_export/([^/]+)/(.*) doku.php?do=export_$1&id=$2 [QSA,L]
65c9a64 @splitbrain htaccess update
splitbrain authored
32 #RewriteRule ^$ doku.php [L]
33 #RewriteCond %{REQUEST_FILENAME} !-f
34 #RewriteCond %{REQUEST_FILENAME} !-d
35 #RewriteRule (.*) doku.php?id=$1 [QSA,L]
36 #RewriteRule ^index.php$ doku.php
Something went wrong with that request. Please try again.