Shit, I was moving domtool files for testing, thought I made a copy and just deleted all my config files... is there a way to get them back? Are they copied to a DomTool folder or anything?

Omry Yadan wrote:
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" "[EMAIL PROTECTED]";
   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 = "[EMAIL PROTECTED]";
   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
[email protected]
https://lists.hcoop.net/listinfo/hcoop-help


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


begin:vcard
fn:John Settino
n:Settino;John
email;internet:[EMAIL PROTECTED]
tel;cell:410-279-3039
x-mozilla-html:FALSE
url:http://www.johnsettino.com
version:2.1
end:vcard

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

Reply via email to