diff options
author | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-09-29 06:57:24 +0000 |
---|---|---|
committer | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-09-29 06:57:24 +0000 |
commit | a53c9bf3bf662f652934d1eb230ff2e229190b4f (patch) | |
tree | 2baedb5de017a37baa114ccfc367f5045f0d800a | |
parent | 063403b58d50cbad9cf4b3e1cf161c9443924e5a (diff) | |
download | semanticscuttle-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
-rw-r--r-- | .htaccess | 1 | ||||
-rw-r--r-- | api/.htaccess | 19 |
2 files changed, 1 insertions, 19 deletions
@@ -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> diff --git a/api/.htaccess b/api/.htaccess deleted file mode 100644 index dc20db5..0000000 --- a/api/.htaccess +++ /dev/null @@ -1,19 +0,0 @@ -# Allow PHP_AUTH_USER with CGI script -# (Inspired by http://www.yetanothercommunitysystem.com/article-321-regle-comment-utiliser-l-authentification-http-en-php-chez-ovh ) - -<IfModule mod_rewrite.c> -RewriteEngine on -RewriteRule ^tags/get tags_get.php -RewriteRule ^tags/rename tags_rename.php -RewriteRule ^posts/dates posts_dates.php -RewriteRule ^posts/get posts_get.php -RewriteRule ^posts/recent posts_recent.php -RewriteRule ^posts/all posts_all.php -RewriteRule ^posts/update posts_update.php -RewriteRule ^posts/add posts_add.php -RewriteRule ^posts/delete posts_delete.php -RewriteRule ^export/html export_html.php -RewriteRule ^export/csv export_csv.php - -RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L] -</IfModule> |