summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-09-29 06:57:24 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-09-29 06:57:24 +0000
commita53c9bf3bf662f652934d1eb230ff2e229190b4f (patch)
tree2baedb5de017a37baa114ccfc367f5045f0d800a /.htaccess
parent063403b58d50cbad9cf4b3e1cf161c9443924e5a (diff)
downloadsemanticscuttle-a53c9bf3bf662f652934d1eb230ff2e229190b4f.tar.gz
semanticscuttle-a53c9bf3bf662f652934d1eb230ff2e229190b4f.tar.bz2
fix problem: "api/posts/all not found"
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@379 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess1
1 files changed, 1 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index ec921fc..563fe53 100644
--- a/.htaccess
+++ b/.htaccess
@@ -10,6 +10,7 @@ Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^([^/.]+)/?(.*)$ /$1.php/$2 [QSA,L]
+RewriteRule ^api/([a-z]+)/([a-z]+) /api/$1_$2.php
</IfModule>