add rewrite base directive

This commit is contained in:
theshka 2015-05-25 07:51:18 -04:00
parent b11a358505
commit a335eec82a

View file

@ -1,11 +1,11 @@
<IfModule mod_rewrite.c> # Check for mod_rewite module. <IfModule mod_rewrite.c>
RewriteEngine On # Turn mod_rewrite module on RewriteEngine On
#RewriteBase / # May be required to access sub-directories #May be required to access sub-directories
RewriteCond %{REQUEST_FILENAME} !-f # Any request that is not a file, #RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d # Any request that is not a directory, RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php [L] # Reroute the request to index.php RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
</IfModule> </IfModule>
# Prevent file browsing # Prevent file browsing
Options -Indexes Options -Indexes