Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (13 sloc) 427 Bytes
RewriteEngine On
RewriteBase /api/
#RewriteCond %{THE_REQUEST} info\.php$
#RewriteRule info\.php - [F]
RewriteCond %{REQUEST_URI} info\.html$
RewriteRule info\.html info.php [L]
RewriteCond %{REQUEST_URI} info\.json$
RewriteRule info\.json info.php [L]
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [L]
RewriteRule ^.*$ index.php [L]
You can’t perform that action at this time.