cajacko/VikiBell-Blog/master/public/.htaccess - Htaccess File

cajacko/VikiBell-Blog/master/public/.htaccess

<IfModule mod_rewrite.c>
  RewriteEngine On

  RewriteCond %{HTTP_USER_AGENT} libwww-perl.* 
  RewriteRule .* ? [F,L]

  RewriteBase /

  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ index.php?url=$1 [L,QSA]
</IfModule>

ErrorDocument 404 /index.php
ErrorDocument 403 /index.php

<IfModule mod_expires.c> 
  ExpiresActive On
  ExpiresByType image/jpg "access plus 1 year"
  ExpiresByType image/jpeg "access plus 1 year"
  ExpiresByType image/gif "access plus 1 year"
  ExpiresByType image/png "access plus 1 year"
  ExpiresByType text/css "access plus 1 seconds"
  ExpiresByType text/javascript "access plus 1 seconds"
  ExpiresDefault "access plus 1 day"
</IfModule>

On Github License

Files

Download PDF of Htaccess file
HTTP_USER_AGENT, REQUEST_FILENAME

Comments

Apache