2015-05-25 11:41:08 +00:00
|
|
|
<IfModule mod_rewrite.c> # Check for mod_rewite module.
|
|
|
|
RewriteEngine On # Turn mod_rewrite module on
|
|
|
|
#RewriteBase / # May be required to access sub-directories
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f # Any request that is not a file,
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-d # Any request that is not a directory,
|
|
|
|
RewriteRule . index.php [L] # Reroute the request to index.php
|
2012-04-04 13:45:09 +00:00
|
|
|
</IfModule>
|
|
|
|
|
2015-05-25 11:41:08 +00:00
|
|
|
|
2012-04-04 13:45:09 +00:00
|
|
|
# Prevent file browsing
|
2015-05-25 11:41:08 +00:00
|
|
|
Options -Indexes
|