httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <>
Subject Re: [users@httpd] apache rewrite question
Date Wed, 20 Oct 2004 07:20:16 GMT
On Wed, 20 Oct 2004, Michael Dale wrote:

> What I am trying to do is if someone comes from a certain domain they will
> be redirected to a certain area of the site so.
> (.htaccess file in the root of
> RewriteCond %{HTTP_REFERER} !^ [NC]
> RewriteRule .* /welcome.html [R,L]

Totally broken, for reasons hashed to death at least every week in one
public forum or another for the past ten years or so.  The Apache FAQ
has a solution.  The CGI FAQ has a longer explanation (written 1996).

Nick Kew

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message