From b56e00c7c5ed1ee7043852b4ce025a3d02f139e8 Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 19 Jun 2011 20:13:24 -0700 Subject: api post sort of working - output status,user need to be swapped --- .htaccess | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.htaccess') diff --git a/.htaccess b/.htaccess index fe09fc522..9cd6fa34c 100644 --- a/.htaccess +++ b/.htaccess @@ -9,13 +9,15 @@ Deny from all RewriteEngine on +# RewriteRule api.* - [E=REMOTE_USER:%{HTTP:Authorization},L] + # Protect repo directory from browsing RewriteRule "(^|/)\.git" - [F] # Rewrite current-style URLs of the form 'index.php?q=x'. RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d - RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] + RewriteRule ^(.*)$ index.php?q=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA] -- cgit v1.2.3