Htaccess File

arduinoguate/CREA/master/v1/.htaccess

QUERY_STRING, REQUEST_FILENAME
#AddHandler x-httpd-php5-4 .php

<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ /v1/api.php?request=$1&%{QUERY_STRING} [PT,L]
RewriteRule .* - [E=HTTP_Authorization:%{HTTP:Authorization}]

</IfModule>
Exit mobile version