blockforest/rockdot-generator/master/templates/ugc/web/public/.htaccess - Htaccess File

blockforest/rockdot-generator/master/templates/ugc/web/public/.htaccess

SetEnv APPLICATION_ENV local

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]

####################
# GZIP COMPRESSION #
####################
<IfModule mod_deflate.c>
  SetOutputFilter DEFLATE
  AddOutputFilterByType DEFLATE text/html text/css text/plain text/xml application/x-javascript application/x-httpd-php
  BrowserMatch ^Mozilla/4 gzip-only-text/html
  BrowserMatch ^Mozilla/4.0[678] no-gzip
  BrowserMatch bMSIE !no-gzip !gzip-only-text/html
  BrowserMatch bMSI[E] !no-gzip !gzip-only-text/html
  SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip
  Header append Vary User-Agent env=!dont-vary
</IfModule>

On Github License

Files

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

Comments

Apache