creativewild/lfg/master/app/.htaccess - Htaccess File

creativewild/lfg/master/app/.htaccess

<IfModule mod_rewrite.c>
     RewriteEngine On
     Options FollowSymLinks

     RewriteBase /

     RewriteCond %{HTTP_HOST} ^esbattle.com
     RewriteRule ^(.*) http://www.esbattle.com [QSA,L,R=301]

     RewriteCond %{REQUEST_FILENAME} !-f
     RewriteCond %{REQUEST_FILENAME} !-d
     RewriteRule ^(.*)$ /#/$1 [L]

     RewriteCond %{HTTP_USER_AGENT} libwww [NC,OR]
     RewriteCond %{QUERY_STRING} ^(.*)=http [NC]
     RewriteRule ^(.*)$ – [F,L]
</IfModule>

<FilesMatch ".(html|js|css|gif|jpg|jpeg|png|ico)$">
  Header set Cache-Control "max-age=600"

  Header set vary  "Accept-Encoding"
  Header append vary "User-Agent"
  Header append Cache-Control "public"

  Header append Connection "Keep-Alive"
  Header append Keep-Alive "timeout=5, max=100"

  FileETag None
</FilesMatch>

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, HTTP_USER_AGENT, QUERY_STRING, REQUEST_FILENAME

Comments

Apache