From 5ad141202c18ebb8591227b8a8239d28b8cc3936 Mon Sep 17 00:00:00 2001 From: icewing Date: Fri, 25 Apr 2008 16:13:27 +0000 Subject: Marcus Povey * JSON & PHP export rewrite rules git-svn-id: https://code.elgg.org/elgg/trunk@538 36083f99-b078-4883-b0ff-0f9b5a30f544 --- htaccess_dist | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3