diff options
author | Anika Henke <anika@selfthinker.org> | 2013-02-16 15:12:04 +0000 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2013-02-16 15:12:04 +0000 |
commit | 7e9efe5266f592dc927dbf126a901e7dea2b4f5d (patch) | |
tree | 692673b094af2fa6bb2885f021c804c797b930c2 /.htaccess.dist | |
parent | 21606750a4ae0a46937a589ca323c250f26a2e58 (diff) | |
download | rpg-7e9efe5266f592dc927dbf126a901e7dea2b4f5d.tar.gz rpg-7e9efe5266f592dc927dbf126a901e7dea2b4f5d.tar.bz2 |
moved rewrite rules to uncomment together (FS#2484)
Diffstat (limited to '.htaccess.dist')
-rw-r--r-- | .htaccess.dist | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/.htaccess.dist b/.htaccess.dist index aa2437b95..c90abdc80 100644 --- a/.htaccess.dist +++ b/.htaccess.dist @@ -15,7 +15,16 @@ ## $conf['userewrite'] = 1 - not needed for rewrite mode 2 #RewriteEngine on # -## Not all installations will require the following line. If you do, +#RewriteRule ^_media/(.*) lib/exe/fetch.php?media=$1 [QSA,L] +#RewriteRule ^_detail/(.*) lib/exe/detail.php?media=$1 [QSA,L] +#RewriteRule ^_export/([^/]+)/(.*) doku.php?do=export_$1&id=$2 [QSA,L] +#RewriteRule ^$ doku.php [L] +#RewriteCond %{REQUEST_FILENAME} !-f +#RewriteCond %{REQUEST_FILENAME} !-d +#RewriteRule (.*) doku.php?id=$1 [QSA,L] +#RewriteRule ^index.php$ doku.php +# +## Not all installations will require the following line. If you do, ## change "/dokuwiki" to the path to your dokuwiki directory relative ## to your document root. #RewriteBase /dokuwiki @@ -25,12 +34,3 @@ ## rules if your server setup allows HTTPS. #RewriteCond %{HTTPS} !=on #RewriteRule ^lib/exe/xmlrpc.php$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R=301] -# -#RewriteRule ^_media/(.*) lib/exe/fetch.php?media=$1 [QSA,L] -#RewriteRule ^_detail/(.*) lib/exe/detail.php?media=$1 [QSA,L] -#RewriteRule ^_export/([^/]+)/(.*) doku.php?do=export_$1&id=$2 [QSA,L] -#RewriteRule ^$ doku.php [L] -#RewriteCond %{REQUEST_FILENAME} !-f -#RewriteCond %{REQUEST_FILENAME} !-d -#RewriteRule (.*) doku.php?id=$1 [QSA,L] -#RewriteRule ^index.php$ doku.php |