Merge pull request #312 from laf/issue-laf-59

Removed trailing slash from v0 part of the uri
This commit is contained in:
Paul Gear
2014-10-22 21:37:17 +10:00

View File

@ -8,7 +8,7 @@ RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !\.(js|ico|txt|gif|jpg|png|css|php)
RewriteRule ^api/v0/(.*)$ api_v0.php/$1 [L]
RewriteRule ^api/v0(.*)$ api_v0.php/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !\.(js|ico|txt|gif|jpg|png|css|php)