httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
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 www.dalegroup.net)
>
> RewriteCond %{HTTP_REFERER} !^http://forums.dalegroup.net/ [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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message