k0R73z/asu/master/web/.htaccess - Htaccess File

k0R73z/asu/master/web/.htaccess

Options +FollowSymLinks
IndexIgnore */*

RewriteEngine on

# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# otherwise forward it to index.php
RewriteRule . index.php
#php_value error_reporting E_ALL & ~E_NOTICE

#
#<filesMatch ".(ico|gif|jpg|png|jpeg|js|css)$"> 
#ExpiresActive On 
#ExpiresDefault "access plus 11 month" 
#Header append Cache-Control "public" 
#FileETag MTime
#</filesMatch>

SetOutputFilter DEFLATE
SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip

On Github License

Files

Download PDF of Htaccess file
DEFLATE, no-gzip, REQUEST_FILENAME, REQUEST_URI

Comments

Apache