aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--htaccess_dist5
1 files changed, 5 insertions, 0 deletions
diff --git a/htaccess_dist b/htaccess_dist
index 5b6f81775..2e711e82c 100644
--- a/htaccess_dist
+++ b/htaccess_dist
@@ -9,8 +9,13 @@ RewriteEngine on
RewriteRule ^action\/([A-Za-z\_\-\/]+)$ action_handler.php?action=$1
RewriteRule ^actions\/([A-Za-z\_\-\/]+)$ action_handler.php?action=$1
+
RewriteRule ^odd\/([0-9]+)\/$ export/handler.php?view=odd&guid=$1
RewriteRule ^odd\/([0-9]+)\/([A-Za-z]+)\/([A-Za-z]+)\/$ export/handler.php?view=odd&guid=$1&type=$2&idname=$3
+RewriteRule ^php\/([0-9]+)\/$ export/handler.php?view=php&guid=$1
+RewriteRule ^php\/([0-9]+)\/([A-Za-z]+)\/([A-Za-z]+)\/$ export/handler.php?view=php&guid=$1&type=$2&idname=$3
+RewriteRule ^json\/([0-9]+)\/$ export/handler.php?view=json&guid=$1
+RewriteRule ^json\/([0-9]+)\/([A-Za-z]+)\/([A-Za-z]+)\/$ export/handler.php?view=json&guid=$1&type=$2&idname=$3
RewriteRule ^\_css\/css\.css$ _css/css.php