col l33t
Joined: 08 May 2002 Posts: 820 Location: Melbourne - Australia
|
Posted: Tue Mar 11, 2003 7:49 am Post subject: remote image linking apache |
|
|
figured it out....add this to your apache config to disable remote image linking. If you use vhosts put it in there. :
Code: |
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com.au/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.yourdomain.com.au/.*$ [NC]
RewriteRule .*\.(gif|GIF|jpg|JPG|png|PNG)$ - [F]
|
|
|