ArkadiYoskovitz/CTSNet/master/api/.htaccess
# Turn on the rewrite engine RewriteEngine On RewriteBase /api/ # Request routing RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # RewriteRule "api/v1/(.*)$" "api/v1/api.php?request=$1" [QSA,NC,L] # RewriteRule "^([a-zA-Z_-]*).(html|json|xml)?$" "__temp/index.php?method=$1&format=$2" [QSA,NC,L] RewriteRule ^(.*)$ index.php?$1 [QSA,NC,L]