View Single Post
Old 05-18-2005, 01:44 PM   #4 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
well you have nothing in that code that is re-writing. it is just faling the pag i think.

i just verified that this code works here on code newbie.
Code:
RewriteCond %{HTTP_REFERER} .
RewriteCond %{HTTP_REFERER} !^http://(.*)?mysite\.com [NC]
RewriteCond %{REQUEST_URI} !^(.*)/nohotlinking.gif [NC]
RewriteRule ^(.*)\.(gif|jpg)$ http://mysite.com/images/nohotlinking.gif [R]
of course ou will need a nohotlinking.gif image on your site, .. and change the name appropriately.
__________________
Mike
sde is offline   Reply With Quote