johnproestakes/simple-api/master/api/.htaccess - Htaccess File

johnproestakes/simple-api/master/api/.htaccess

<IfModule mod_rewrite.c>
SetEnv HTTP_MOD_REWRITE On
RewriteEngine On
# RewriteBase [dir off root]/api/index.php

RewriteCond $1 !^(index.php|images|assets|css|js|robots.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php/?$1&%{QUERY_STRING} [L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
QUERY_STRING, REQUEST_FILENAME

Comments

Apache