[HCoop-Help] Domtool redirect: with www to without www keeping file path

Michal Charemza michalcharemza at gmail.com
Thu Apr 9 12:05:55 EDT 2009

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  

which does do the redirection exactly as I intended.

More information about the HCoop-Help mailing list