Created
September 30, 2014 13:17
-
-
Save steadweb/3cae261ec7648164d618 to your computer and use it in GitHub Desktop.
Basic L4 .htaccess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
Options -MultiViews | |
RewriteEngine On | |
RewriteCond %{REQUEST_URI} !\.(gif|jpg|jpeg|png|bmp|mov|mp4|mp3)$ | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^ index.php [L] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment