aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-25 16:13:27 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-25 16:13:27 +0000
commit5ad141202c18ebb8591227b8a8239d28b8cc3936 (patch)
tree4c2a1b192964439fd0fe55fc5e0fbf133a2a4940
parent84e2ddd9244a70b19e597e8eaee031761f35de06 (diff)
downloadelgg-5ad141202c18ebb8591227b8a8239d28b8cc3936.tar.gz
elgg-5ad141202c18ebb8591227b8a8239d28b8cc3936.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* JSON & PHP export rewrite rules git-svn-id: https://code.elgg.org/elgg/trunk@538 36083f99-b078-4883-b0ff-0f9b5a30f544
-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