[HCoop-Help] DomTool Woes

Omry Yadan omry at yadan.net
Wed Jun 25 00:19:36 EDT 2008


some general advice :
* start simple, and build up as you go.
* look at other config files of other users to learn.
* better to post exact error message.

some specific advice:
add serverAliasDefault inside the www web caluse:

dom "firestats.cc" with
    web "www" with
        serverAliasDefault;
    ...

look at my config dir for more examples:
/afs/hcoop.net/user/o/om/omry/.domtool





John T. Settino wrote:
> Hey all,
>
> As usual, I am a complete DomTool retard (for a variety of reasons). 
> I've read the help and I can't figure out why this config is working.
>
> Basically I have a simple configuration... drop some emails, have some 
> directory aliases and custom error docs. But I can't figure out how. 
> I'm getting errors about having a vhost and needing a domain or vice 
> versa. Also, I want the aliases to be able to work on the domain 
> regardless if www. is prefixed to the url... if possible.
>
> Here's my config as it stands...
> dom "nion0.com" with
>    emailAlias "irene" "irene.hepler at gmail.com";
>    aliasDrop "service";
>    aliasDrop "fnp";
>    aliasDrop "msn";
>    aliasDrop "admin";
>    aliasDrop "root";
>    aliasDrop "accounting";
>    aliasDrop "swat";
>    aliasDrop "info";
>    aliasDrop "msnd";
>    aliasDrop "xpz";
>    aliasDrop "billing";
>    aliasDrop "bangbros";
>  web "www" where
>    ServerAdmin = "nion at nion0.com";
>    DocumentRoot = (home "public_html/");
>  with
>   (* errorDocument "404" "<h1>I can't find it. Your Mom ate it."; *)
>    errorDocument "404" "/errors/404a.html";
>    errorDocument "403" "/errors/403.html";
>    errorDocument "401" "/errors/401.html";
>    errorDocument "500" "/errors/500.html";
>    alias "/alison_files" (home "alison/");
>    alias "/alison_files1" (home "alison_files/");
>    alias "/angelwrath.com" (home "angelwrath.com/");
>  end;
> end;
>
>
> Any help or suggestions other than "RTFM" would be appreciated.
>
> - John
> ------------------------------------------------------------------------
>
> _______________________________________________
> HCoop-Help mailing list
> HCoop-Help at lists.hcoop.net
> https://lists.hcoop.net/listinfo/hcoop-help
>   




More information about the HCoop-Help mailing list