Discussion: htaccess problem
Afficher un message
Vieux 20/05/2005, 15h21   #3
Robert Feinman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: htaccess problem

In article <6ah0m2-cu5.ln1@news.roaima.co.uk>, chris-usenet@roaima.co.uk
says...
> Robert Feinman <robertdfeinman@netscape.net> wrote:
> > I've created a .htaccess file as shown below. Some times this
> > seems to work, and sometimes it doesn't. I'm baffled by
> > the inconsistent results.

>
> > Any ideas what's going on?

>
> > RewriteCond %{HTTP_REFERER} ^http://(www\.)?xanga\.com/ [NC,OR]
> > RewriteCond %{HTTP_REFERER} ^http://(www\.)?myspace\.com/ [NC]

>
> There's no requirement for a browser to tell you the referrer, and even
> if it does it might be spoofed. Basically, you shouldn't rely on it.
>
> Chris
>

That's not the problem. The problem is that for requests where the
referrer matches the conditions above the rewrite is not taking place.
I'm not trying to block everything, just the ones I listed.

--
Robert D Feinman
Landscapes, Cityscapes and Panoramic Photographs
http://robertdfeinman.com
mail: robertdfeinman@netscape.net
  Réponse avec citation
 
Page generated in 0,05886 seconds with 9 queries