parent
b11a358505
commit
a335eec82a
@ -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 |
||||||
|
Loading…
Reference in new issue