httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] Help with mod_rewrite
Date Fri, 09 Jul 2004 01:45:10 GMT
On Thu, 8 Jul 2004 17:59:39 -0700 (PDT), Admin-Stress
<> wrote:
> Ah found the problem ... I tried to redirect to my OWN website, and then it will not
>    RewriteRule .* [R]
> if is my domain name then it will not work :(

Yah, well, browsers don't change the Referer on a redirect, so you've
obviously created a loop.  A look at the logs should show that.

You can fix it by replacing your RewriteRule with
RewriteRule !^/contact [R]

Or you can change to an internal redirect by giving the local url-path
to contact.

Or you can add the following rule BEFORE the existing ones:
RewriteRule ^/contact - [L]


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