On Thu, 9 Apr 2009 17:12:16 +0100
Michal <[email protected]> wrote:

> Ok... I spoke too soon. It seems to work at first, but now I get a
> 'too many redirects' error.

If I was following your previous mails correctly, my guess is
that visiting

www.yoursite

works like expected, but then your regex rewrite rule is written
in a way that it rewrites both www.yoursite and yoursite.

So what happens is a loop like this:

www.yoursite -> yoursite -> yoursite -> yoursite...

You need to improve 

rewriteRule "^(.*)$" "http://mydomain.com$1";

in a way that it only redirects addresses that
contain www.yoursite; in other cases you must not do 
a rewrite or you end up in a loop.

Tell us how it goes.

-doc

_______________________________________________
HCoop-Help mailing list
[email protected]
https://lists.hcoop.net/listinfo/hcoop-help

Reply via email to