Ok... I spoke too soon. It seems to work at first, but now I get a 'too many redirects' error.
On Thu, Apr 9, 2009 at 5:05 PM, Michal Charemza <[email protected]> wrote: > > On 9 Apr 2009, at 16:39, Adam Chlipala wrote: >> >> You must not have created a virtual host for mydomain.com. You can use >> the [vhostDefault] directive to do that. It's like [vhost], but with no >> argument before the [with]. > > I'm not sure what you mean here: but in trying to find out, I have just > found in the wiki that I shouldn't be using > > web "www" > > In a 'dom' block, but instead: > > WWW = begin > rewriteRule "^(.*)$" "http://mydomain.com$1" [redirectWith permanent] > end > > which does do the redirection exactly as I intended. > _______________________________________________ HCoop-Help mailing list [email protected] https://lists.hcoop.net/listinfo/hcoop-help
