On 9 Apr 2009, at 17:37, Adam Chlipala wrote:
> Even better would be to configure your domain with [CreateWWW = false]
> and to use [vhostDefault] like I said.  Examples of both are found at:
>    http://wiki.hcoop.net/DomTool/Examples
Ah... thanks. (The relavent parts of) my domtool file is now

dom "mydomain.com" where
   CreateWWW = false;
with
   vhostDefault with
   end;

   web "www" with
     rewriteRule "^(.*)$" "http://mydomain.com$1"; [redirectWith  
permanent]
   end;
end;

And that seems to work.


> P.S.: Every time I have to write an example, I get a little irate,
> because Domtool has a type system, such that the type of each  
> directive
> tells you exactly how you can use it.  If you want to save everyone  
> some
> time, you can read the Domtool docs further to learn to read types.


I will have a further look. I have a bit already, but I have to say I  
am completely lost. I will persevere though.

Thanks!

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

Reply via email to