View Single Post
Old 09-26-2006, 07:03 AM  
Fuckin Bill
Confirmed User
 
Join Date: Feb 2003
Posts: 1,020
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mysite 1(/)?.*$ [NC]

Just copy that line over and put in the domain of the other sites you want to allow.

Like So...

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mysite 1(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mysite 2(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mysite 3(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp|)$ http://www.google.com [R,NC]
Fuckin Bill is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote