Created
September 25, 2014 02:35
-
-
Save 1stevengrant/722890d712e1249c5af9 to your computer and use it in GitHub Desktop.
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
AddType video/ogg .ogv | |
AddType video/mp4 .mp4 | |
AddType video/webm .webm | |
AcceptPathInfo On | |
Options -Indexes | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
Options +FollowSymLinks | |
# Looks for files and directories that do not exist | |
# and provide the segments to the index.php file | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond $1 !^/index.php | |
RewriteCond $1 !.(css|js|png|jpe?g|gif|ico)$ [NC] | |
RewriteRule ^(.*)$ index.php/$1 [L] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment