uzumakitensho/simongarsis/master/.htaccess - Htaccess File

uzumakitensho/simongarsis/master/.htaccess

Options FollowSymLinks
AddDefaultCharset UTF-8
<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule> 

<IfModule !mod_rewrite.c>
    ErrorDocument 404 /index.php
</IfModule>  

<ifModule mod_deflate.c>
  <filesMatch ".(css|js|html|php)$">
    SetOutputFilter DEFLATE
  </filesMatch>
</ifModule>
<IfModule !mod_deflate.c>
    ErrorDocument 404 /index.php
</IfModule>  

<FilesMatch ".(flv|gif|jpg|jpeg|png|ico|swf|js|pdf|css|woff)$">
  Header set Cache-Control "max-age=2592000"
</FilesMatch>

On Github License

Files

Download PDF of Htaccess file
DEFLATE, REQUEST_FILENAME

Comments

Apache