saydulk/stalker_portal/master/api/.htaccess - Htaccess File

saydulk/stalker_portal/master/api/.htaccess

<IfModule mod_rewrite.c>
    RewriteEngine on

    RewriteRule .* - [env=TARGET:API]
    RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteCond %{HTTP_HOST} ^v([^.]+).api..+$
    RewriteRule ^(.*)$ api_v2.php?_resource=$1 [L,QSA]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
GET, HTTP_HOST, REQUEST_FILENAME

Comments

Apache