gartram/php_router/master/src/.htaccess - Htaccess File

gartram/php_router/master/src/.htaccess

RewriteEngine On

RewriteCond %{HTTP_HOST} !^www.trollsoft.net [NC]
RewriteRule ^(.*)$ http://www.trollsoft.net/$1 [L,R=301]

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

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME

Comments

Apache