View Single Post
  #29  
Old 20 Jan 2007, 13:30
aacircle aacircle is offline
 
Join Date: Jun 2005
Great tutorial. However my redirect isn't working. Hotlinking is being blocked but it doesn't redirect to our home page.

I use:

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www.animeonline.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.animeonline.net$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp|swf)$ http://www.animeonline.net/ [R,NC]

You can see a test page at www.myotherdomain.com/test.htm. There is a broken image that should redirect to AnimeOnline's home page. Correct?

Thank you.

Last edited by aacircle; 21 Jan 2007 at 02:30.
Reply With Quote