Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hotlinking

Status
Not open for further replies.

aaronah

Technical User
Sep 30, 2004
3
0
0
GB
i want to prevent specific sites from loading images from my server.

I had add a .htaccess file to do so:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^ [NC]
RewriteRule \.(gif|jpg)$ [R,L]

That is working, but i now want to specify the domains which i dont want to use my images, aand allow the rest of domains to load my images.

Can anyone help??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top