markcummins/gambletron/master/application/.htaccess
RewriteEngine on
#RewriteCond %{SERVER_PORT} 80
#RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R,L]
RewriteBase /
# Hide the application and system directories by redirecting the request to index.php
RewriteRule ^(application|system|.git) index.php/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [QSA,L]
#php_value max_input_vars 5000
### activate mod_expires
ExpiresActive On
ExpiresDefault A0
ExpiresByType image/gif A2592000
ExpiresByType image/png A2592000
ExpiresByType image/jpg A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType image/ico A2592000
ExpiresByType text/css A2592000
ExpiresByType text/javascript A2592000
<IFModule mod_deflate.c>
<filesmatch ".(js|css|html|jpg|jpeg|gif|png|php)$">
SetOutputFilter DEFLATE
</filesmatch>
</IFModule>
<FilesMatch ".(htm|html|php)$">
<IfModule mod_headers.c>
BrowserMatch MSIE ie
Header set X-UA-Compatible "IE=Edge,chrome=1" env=ie
</IfModule>
</FilesMatch>
AddDefaultCharset utf-8
AddType video/webm .webm
AddType video/ogg .ogv
AddType video/mp4 .mp4
On Github License
Files