2015-09-10 06:37:52 -05:00
|
|
|
DirectoryIndex index.php
|
2015-09-10 07:09:42 -05:00
|
|
|
|
2018-03-12 10:49:55 -05:00
|
|
|
# enable apache rewrite engine
|
2015-09-10 06:37:52 -05:00
|
|
|
RewriteEngine on
|
2015-09-10 07:09:42 -05:00
|
|
|
|
2018-03-12 10:49:55 -05:00
|
|
|
# set your rewrite base
|
2015-09-10 06:37:52 -05:00
|
|
|
RewriteBase /
|
2015-09-10 07:09:42 -05:00
|
|
|
|
2018-03-12 10:49:55 -05:00
|
|
|
# Deliver the folder or file directly if it exists on the server
|
2015-09-10 06:37:52 -05:00
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
|
|
|
2018-03-12 10:49:55 -05:00
|
|
|
# Push every request to index.php
|
2015-09-10 06:37:52 -05:00
|
|
|
RewriteRule ^(.*)$ index.php [QSA]
|