[HCoop-Discuss] DomTool 2 - fowarding

Ryan Mikulovsky ryan at hcoop.net
Thu Nov 15 21:07:09 EST 2007


Hi Docelic,

> using serverAliasDefault directive like you see in
> ~docelic/.domtool/spinlocksolutions.com ?
>

I ended up doing this with a random vhost because I could not get rewrite
to work with `WWW = begin` env. variable.  If I used vhost "www" then a
webpage would show up instead of the CNAME (iirc).  So this is what I did:

domain "chicowiki.org" with
...
  dns (dnsCNAME "www" "domains.wikispot.org");
...
vhost "random" with
...rewrites...
  serverAliasDefault;
end;
end;



> Cya,
> -doc
>

Thanks!
Ryan






More information about the HCoop-Discuss mailing list