harasaski/introarch/master/.htaccess - Htaccess File

harasaski/introarch/master/.htaccess

AddType text/x-component .htc
Options -Indexes
<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteCond $1 !^(index.php|images|logs|robots.txt|favicon.ico|db.php|google143defa047db9ae5.html|sitemap.xml|google95f66edee87f43ae.html|y_key_b37dd14777badb05.html)
  RewriteRule ^(.*)$ index.php?/$1 [L]

  ####### STOP IMAGE HOTLINKING #######
  RewriteCond %{HTTP_REFERER} !^http://(.+.)?introarch.com/ [NC]
  RewriteCond %{HTTP_REFERER} !^http://localhost/ [NC]
  RewriteCond %{HTTP_REFERER} !^$
  RewriteCond %{HTTP_REFERER} !google. [NC]
  RewriteCond %{HTTP_REFERER} !search?q=cache [NC]
  RewriteCond %{HTTP_REFERER} !msn. [NC]
  RewriteCond %{HTTP_REFERER} !yahoo. [NC]
  RewriteRule .*.(jpe?g|gif|bmp|png)$ images/blank.gif  [L] 
</IfModule>

On Github License

Files

Download PDF of Htaccess file
HTTP_REFERER

Comments

Apache