Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
remote image linking apache
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
col
l33t
l33t


Joined: 08 May 2002
Posts: 820
Location: Melbourne - Australia

PostPosted: Tue Mar 11, 2003 7:49 am    Post subject: remote image linking apache Reply with quote

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]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum