Symefa/Open-Smart-City/master/src/.htaccess - Htaccess File

Symefa/Open-Smart-City/master/src/.htaccess

RewriteEngine On

RewriteCond %{THE_REQUEST} s/+index.php?([^s&]+) [NC]
RewriteRule ^ %1? [R=301,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, THE_REQUEST

Comments

Apache