summaryrefslogtreecommitdiff
path: root/api/.htaccess
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-16 12:02:47 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-16 12:02:47 +0000
commit0d725d32c3793d078f50a96e7be47e647fb47fc1 (patch)
tree9930e7e32100e797626db37e79e131d269017758 /api/.htaccess
parenta81ad1655fd7043c1734109c87b04d98badd5bc8 (diff)
downloadsemanticscuttle-0d725d32c3793d078f50a96e7be47e647fb47fc1.tar.gz
semanticscuttle-0d725d32c3793d078f50a96e7be47e647fb47fc1.tar.bz2
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@280 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'api/.htaccess')
-rw-r--r--api/.htaccess14
1 files changed, 6 insertions, 8 deletions
diff --git a/api/.htaccess b/api/.htaccess
index 510143c..9553254 100644
--- a/api/.htaccess
+++ b/api/.htaccess
@@ -1,5 +1,10 @@
-RewriteEngine On
+# 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
@@ -7,14 +12,7 @@ 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 ^tags/rename tags_rename.php
RewriteRule ^export/html export_html.php
-
-# 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 .* - [E=REMOTE_USER:%{HTTP:Authorization},L]
</IfModule>