Moved to use X-Auth-Token header for auth and new url format for later use

This commit is contained in:
laf
2014-09-16 22:19:28 +01:00
parent 96c0457a75
commit 47c91b458e
4 changed files with 61 additions and 53 deletions
+4
View File
@@ -8,6 +8,10 @@ RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !\.(js|ico|txt|gif|jpg|png|css|php)
RewriteRule ^api/v1/(.*)$ api_v1.php/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !\.(js|ico|txt|gif|jpg|png|css|php)
RewriteRule ^(.*)$ index.php/$1/
AcceptPathInfo On