agabardo/codeigniter_blog/master/.htaccess - Htaccess File

agabardo/codeigniter_blog/master/.htaccess

<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?$1 [L] 
  
  RewriteCond %{HTTP_REFERER} !^http://localhost.*$ [NC]
  RewriteRule .*.(gif|jpg|jpeg|bmp)$ http://localhost [R,NC]
  
</IfModule>

On Github License

Files

Download PDF of Htaccess file
HTTP_REFERER, REQUEST_FILENAME

Comments

Apache