diff options
author | Michael Klier <chi@chimeric.de> | 2008-03-12 13:22:50 +0100 |
---|---|---|
committer | Michael Klier <chi@chimeric.de> | 2008-03-12 13:22:50 +0100 |
commit | 630e442cc677b713c16df6060adfe9107160ff6b (patch) | |
tree | 3fa35c39a8a14cb4a38a64a9615895c3909a4d79 | |
parent | 45c63471977778190fb210853309821904370d48 (diff) | |
download | rpg-630e442cc677b713c16df6060adfe9107160ff6b.tar.gz rpg-630e442cc677b713c16df6060adfe9107160ff6b.tar.bz2 |
XMLRPC: added https rewrite rules to .htaccess.dist
darcs-hash:20080312122250-23886-6ea6a1197505c66c25c840c2c6549dd2d6eea4d6.gz
-rw-r--r-- | .htaccess.dist | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.htaccess.dist b/.htaccess.dist index 743ce20e3..54ad4b589 100644 --- a/.htaccess.dist +++ b/.htaccess.dist @@ -20,6 +20,12 @@ ## to your document root. #RewriteBase /dokuwiki # +## If you enable DokuWikis XML-RPC interface, you should consider to +## restrict access to it over HTTPS only! Uncomment the following two +## 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] |