aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-08 18:27:30 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-08 18:27:30 +0000
commite3d6cd091f10566da4f97bcb058bff1417a48b9e (patch)
tree07c80908890d2ad39ac3714fb004277487b25e58
parent1a419684ef11e0941710d90411261cf455e5b7b1 (diff)
downloadelgg-e3d6cd091f10566da4f97bcb058bff1417a48b9e.tar.gz
elgg-e3d6cd091f10566da4f97bcb058bff1417a48b9e.tar.bz2
Closes #128
git-svn-id: https://code.elgg.org/elgg/trunk@1340 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--htaccess_dist11
1 files changed, 8 insertions, 3 deletions
diff --git a/htaccess_dist b/htaccess_dist
index 1eb892cc2..124e2709e 100644
--- a/htaccess_dist
+++ b/htaccess_dist
@@ -19,12 +19,17 @@ RewriteRule ^cron\/$ engine/handlers/cron_handler.php
RewriteRule ^action\/([A-Za-z\_\-\/]+)$ engine/handlers/action_handler.php?action=$1
RewriteRule ^actions\/([A-Za-z\_\-\/]+)$ engine/handlers/action_handler.php?action=$1
+RewriteRule ^odd\/([0-9]+)$ services/export/handler.php?view=odd&guid=$1
RewriteRule ^odd\/([0-9]+)\/$ services/export/handler.php?view=odd&guid=$1
-RewriteRule ^odd\/([0-9]+)\/([A-Za-z]+)\/([A-Za-z]+)\/$ services/export/handler.php?view=odd&guid=$1&type=$2&idname=$3
+RewriteRule ^odd\/([0-9]+)\/([A-Za-z]+)\/([A-Za-z\_]+)\/$ services/export/handler.php?view=odd&guid=$1&type=$2&idname=$3
+
+RewriteRule ^php\/([0-9]+)$ services/export/handler.php?view=php&guid=$1
RewriteRule ^php\/([0-9]+)\/$ services/export/handler.php?view=php&guid=$1
-RewriteRule ^php\/([0-9]+)\/([A-Za-z]+)\/([A-Za-z]+)\/$ services/export/handler.php?view=php&guid=$1&type=$2&idname=$3
+RewriteRule ^php\/([0-9]+)\/([A-Za-z]+)\/([A-Za-z\_]+)\/$ services/export/handler.php?view=php&guid=$1&type=$2&idname=$3
+
+RewriteRule ^json\/([0-9]+)$ services/export/handler.php?view=json&guid=$1
RewriteRule ^json\/([0-9]+)\/$ services/export/handler.php?view=json&guid=$1
-RewriteRule ^json\/([0-9]+)\/([A-Za-z]+)\/([A-Za-z]+)\/$ services/export/handler.php?view=json&guid=$1&type=$2&idname=$3
+RewriteRule ^json\/([0-9]+)\/([A-Za-z]+)\/([A-Za-z\_]+)\/$ services/export/handler.php?view=json&guid=$1&type=$2&idname=$3
RewriteRule ^\_css\/css\.css$ _css/css.php