SimpleRouter/webconfigs/.htaccess

15 lines
400 B
ApacheConf
Raw Normal View History

2015-09-10 06:37:52 -05:00
DirectoryIndex index.php
2015-09-10 07:09:42 -05:00
2021-07-14 16:16:33 -05:00
# Enable Apache rewrite engine
2015-09-10 06:37:52 -05:00
RewriteEngine on
2015-09-10 07:09:42 -05:00
2021-07-14 16:16:33 -05:00
# Set the rewrite base path
# Pass this to the run() method too, if your entry point is in a subfolder
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]