View Single Post
Old 09-10-2002, 04:07 PM  
HQ
Confirmed User
 
Join Date: Jan 2001
Posts: 3,539
Here it is:

RewriteEngine On
RewriteCond %{HTTP_REFERER} .*substring.* [NC]
RewriteRule /* http://www.freegallery.biz/index2.html [R,L]

So whenever a referrer has "substring" in it, it forwards it to my entrance page, http://www.freegallery.biz/index2.html, instead of my main page, http://www.freegallery.biz/. The problem is that when index2.html is requested, the referrer still matches the substring and causes an infinite loop.

Last edited by HQ; 09-10-2002 at 04:50 PM..
HQ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote