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]
Files
![HTTP_HOST, REQUEST_FILENAME](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/gartram/php_router-src-htaccess.png)