aboutsummaryrefslogtreecommitdiff
path: root/htaccess_dist
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-11-10 01:50:19 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-11-10 01:50:19 +0000
commitfcaf7ad2e618deb50cbe48d2a4f8256e87878761 (patch)
treeff5d372c372d4cdd60bf9d061515ac3e12038032 /htaccess_dist
parent3cfefb38a8e73f3b712e462fe784782b80edd9f9 (diff)
downloadelgg-fcaf7ad2e618deb50cbe48d2a4f8256e87878761.tar.gz
elgg-fcaf7ad2e618deb50cbe48d2a4f8256e87878761.tar.bz2
introducing a new web services handler
git-svn-id: http://code.elgg.org/elgg/trunk@3651 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'htaccess_dist')
-rw-r--r--htaccess_dist2
1 files changed, 2 insertions, 0 deletions
diff --git a/htaccess_dist b/htaccess_dist
index a01d8bc08..b8ba81114 100644
--- a/htaccess_dist
+++ b/htaccess_dist
@@ -118,6 +118,8 @@ RewriteEngine on
RewriteRule ^action\/([A-Za-z0-9\_\-\/]+)$ engine/handlers/action_handler.php?action=$1
+RewriteRule ^services\/api\/([A-Za-z0-9\_\-]+)\/(.*)$ engine/handlers/service_handler.php?handler=$1&request=$2
+
RewriteRule ^export\/([A-Za-z]+)\/([0-9]+)$ services/export/handler.php?view=$1&guid=$2
RewriteRule ^export\/([A-Za-z]+)\/([0-9]+)\/$ services/export/handler.php?view=$1&guid=$2
RewriteRule ^export\/([A-Za-z]+)\/([0-9]+)\/([A-Za-z]+)\/([A-Za-z0-9\_]+)\/$ services/export/handler.php?view=$1&guid=$2&type=$3&idname=$4