raster pushed a commit to branch master.

http://git.enlightenment.org/website/www.git/commit/?id=7cbe13a800dcd0ea93591ae0b03ee7b1a468d490

commit 7cbe13a800dcd0ea93591ae0b03ee7b1a468d490
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Tue Apr 14 11:24:01 2015 +0900

    put rewrite rules updates in git as the file is tracked there...
    
    and this is needed if you want a local copy of the www dokuwiki so
    links work.
---
 public_html/.htaccess | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/public_html/.htaccess b/public_html/.htaccess
index bf13674..4233b3d 100644
--- a/public_html/.htaccess
+++ b/public_html/.htaccess
@@ -4,3 +4,12 @@ RewriteEngine On
 
 RewriteCond %{REQUEST_URI} ^/p.php
 RewriteRule .* https://www.enlightenment.org [R=301,L]
+
+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

-- 


Reply via email to