welcome: please sign in

Diff for "DomTool/Examples/Full"

Differences between revisions 8 and 59 (spanning 51 versions)
Revision 8 as of 2007-11-23 21:23:52
Size: 5860
Comment: add my example
Revision 59 as of 2008-04-12 03:36:24
Size: 1660
Editor: 66-192-6-131
Comment: interesting site man <a href=" http://hotmikki.free-site-host.com/nude-teens/nude-babes-on-your-cellphone.html ">nude babes on your cellphone </a> gsjc <a href=" http://hotmikki.free-site-host.com/nu
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma section-numbers off
Line 3: Line 2:
This page contains a number of working examples of DomTool configuration. People are welcome to add their own working examples to this page if they like. ---- /!\ '''Edit conflict - other version:''' ----
interesting post thx <a href=" http://hotmikki.free-site-host.com/nude-swing/jenifer-anniston-nude.html ">jenifer anniston nude
</a> hkd <a href=" http://hotmikki.free-site-host.com/nude-teens/peter-wentz-nude.html ">peter wentz nude
</a> =-( <a href=" http://hotnikki.free-site-host.com/nude-lolitas/free-nude-cheerleader-galleries-nude.html ">free-nude-cheerleader-galleries nude
</a> rmvpky <a href=" http://hotnikki.free-site-host.com/nude-lolitas/nude-jaime-pressley.html ">nude jaime pressley
</a> >:-[[ <a href=" http://hotnikki.free-site-host.com/nude-lolitas/nude-photos.html ">nude photos
</a> 8-OO <a href=" http://hotmikki.free-site-host.com/nude-swing/girls-in-the-nude.html ">girls in the nude
</a> 817961
----
CategoryOutdated
Line 5: Line 13:
[[TableOfContents]] ---- /!\ '''Edit conflict - your version:''' ----
interesting site man <a href=" http://hotmikki.free-site-host.com/nude-teens/nude-babes-on-your-cellphone.html ">nude babes on your cellphone
</a> gsjc <a href=" http://hotmikki.free-site-host.com/nude-swing/nina-hartley-nude.html ">nina hartley nude
</a> >:-))) <a href=" http://hotmikki.free-site-host.com/nude-swing/sprague-grayden-nude.html ">sprague grayden nude
</a> obr <a href=" http://hotmikki.free-site-host.com/nude-teens/martina-hingas-nude.html ">martina hingas nude
</a> xckdi <a href=" http://hotmikki.free-site-host.com/nude-swing/persis-khambatta-nude.html ">persis khambatta nude
</a> 905 <a href=" http://hotnikki.free-site-host.com/nude-lolitas/evangelion-nude.html ">evangelion nude
</a> lsezg
----
CategoryHomepage
Line 7: Line 24:
= mwolson.org =

Here is MichaelOlson's annotated DomTool configuration.

{{{
domain "mwolson.org" with
  (* DNS settings *)
  nameserver "ns1.hcoop.net";
  nameserver "ns3.hcoop.net";
  dnsDefault "69.90.123.68";
  dnsIP "mail" "69.90.123.67";
  dnsMail 10 "mail.mwolson.org";

  (* email *)
  handleMail;
  emailAlias "me" "mwolson";
  emailAlias "me.purdue" "mwolson";
  emailAlias "me.vending" "mwolson";
  emailAlias "mwolson" "mwolson";
  emailAlias "hostmaster" "mwolson";
  emailAlias "news" "mwolson";
  emailAlias "webmaster" "mwolson";

  (* Default webspace *)
  web "www" where
    DocumentRoot = (home "public_html");
  with
    addDefaultCharset "utf-8";
    serverAliasDefault;

    (* Change www.mwolson.org to mwolson.org *)
    rewriteCond "%{HTTP_HOST}" "^www\.mwolson\.org$" [cond_nocase];
    rewriteRule "^(.*)$" "http://mwolson.org$1" [redirectWith redir301,last];

    scriptAlias "/cgi-bin/" (home "cgi-bin/");
    rewriteRule "^/$" "http://mwolson.org/web/WelcomePage.html" [last];
    rewriteRule "^/blog/projects(.*)"
                "http://blog.mwolson.org/tech/projects$1"
                [redirectWith redir301,last];
    rewriteRule "^/blog([^.].*)" "http://blog.mwolson.org$1"
                [redirectWith redir301,last];
    rewriteRule "^/cs158" "http://mwolson.org/classes/cs158/index.html" [];
    rewriteRule "^/favicon\.ico$"
                "http://mwolson.org/static/logos/favicon.ico" [];
    rewriteRule "^/static/albums/(.*)"
                "http://mwolson.risnerolson.org/albums/$1" [];
  end;

  (* Blog *)
  web "blog" where
    DocumentRoot = (home "public_html/blog");
  with
    addDefaultCharset "utf-8";
    alias "/favicon.ico" (home "public_html/static/logos/favicon.ico");
    alias "/comments.js" (home "public_html/comments.js");
    rewriteRule "^/projects(.*)" "http://blog.mwolson.org/tech/projects$1" [];
    scriptAlias "/" (home "cgi-bin/pyblosxom/pyblosxom.cgi/");
  end;

  (* DAV access *)
  webAtIp "69.90.123.81" "dav" with
    rewriteRule "^(.*)$" "https://dav.mwolson.org$1" [redirect];
  end;

  (* Note: this contains the IP address that I registered for via *)
  (* the portal. You'll get errors if you try to use it. *)
  webAtIp "69.90.123.81" "dav" where
    DocumentRoot = (home "dav");
    SSL = use_cert "/etc/apache2/ssl/user/mwolson.org.pem";
  with
    addDefaultCharset "utf-8";

    location "/" with
      davFilesystem;
    end;
  end;

end;

domain "hariken.mwolson.org" with
  (* Permit email delivery for my computer *)
  nameserver "ns1.hcoop.net";
  nameserver "ns3.hcoop.net";
  dnsDefault "66.253.212.116";
  dnsMail 10 "mail.mwolson.org";
  handleMail;

  emailAlias "mwolson" "mwolson";
  emailAlias "news" "mwolson";
  emailAlias "root" "mwolson";
end;
}}}


= spinlocksolutions.com =

Here is DavorOcelic's annotated DomTool configuration.

{{{
domain "spinlocksolutions.com" where
  Aliases = ["spinlock-solutions.com"];
with
  dnsDefault "69.90.123.68";
  dns (dnsNS "deleuze.hcoop.net");
  dns (dnsNS "mire.hcoop.net");
  dns (dnsA "www" "69.90.123.68");
  dns (dnsA "secure" "69.90.123.68");
  dns (dnsA "infrastructures" "69.90.123.68");
  dns (dnsA "i" "69.90.123.68");
  dns (dnsA "mail" "69.90.123.67");
  dns (dnsA "rt" "195.29.212.142");
  dnsMail 1 "deleuze.hcoop.net";
  handleMail;
  defaultAlias "docelic";

  web "www" where
    DocumentRoot = home "web/spinlocksolutions.com";
  with
    addDefaultCharset "utf-8";
    serverAliasDefault;

    scriptAlias "/cgi-bin/" ( home "web/cgi-bin/" );
    scriptAlias "/sl" ( home "web/cgi-bin/sl" );

    (* directoryIndex ["/sl/index"]; *)
    rewriteRule "^/$" "/sl/index" [redirectWith permanent];

    alias "/debian" ( home "debian/repository" );
    directory ( home "debian/repository" ) with
            options [ indexes ];
            orderAllowDeny;
            allowFromAll;
    end;
  end;


  web "secure" with
    rewriteRule "^(.*)$" "https://secure.spinlocksolutions.com$1" [redirect]
  end;

  web "secure" where
    DocumentRoot = home "web/spinlocksolutions.com";
    SSL = use_cert "/etc/apache2/ssl/apache.pem"
  with
    addDefaultCharset "utf-8";

    scriptAlias "/cgi-bin/" ( home "web/cgi-bin/" );
    scriptAlias "/sl" ( home "web/cgi-bin/sl" );

    (* directoryIndex ["/sl/index"]; *)
    rewriteRule "^/$" "/sl/index" [redirectWith permanent];

    alias "/debian" ( home "debian/repository" );
    directory ( home "debian/repository" ) with
            options [ indexes ];
            orderAllowDeny;
            allowFromAll;
    end;
  end;

  vhost "infrastructures" where
    DocumentRoot = home "web/infrastructures.sl.com";
  with
    addDefaultCharset "utf-8";
  end;
end;
}}}

= distortions.net =
Here's RyanMikulovsky's very simple example:
{{{
domNoDefaultAlias "distortions.net" where (* avoids *@distortions.net)
  DocumentRoot = home "public_html/distortions.net/"
with
  emailAlias "ryan" "ryan@hcoop.net"; (* the only e-mail address I want *)

  wordPress "geology" where (* sets up proper rewrite rules etc. *)
   DocumentRoot = home "public_html/geo/wordpress/"
  end;

  web "biblio" where
    DocumentRoot = home "public_html/distortions.net/biblio";
  with
   addDefaultCharset "utf-8"; (* probably not necessary... *)
  end;

  web "chemistry" where
   DocumentRoot = home "public_html/chemistry";
  with
  end;

  web "gallery" where (* for Gallery PHP software *)
   DocumentRoot = home "public_html/gallery";
  with
  end;
end;
}}}
---- /!\ '''End of edit conflict''' ----


/!\ Edit conflict - other version:


interesting post thx <a href=" http://hotmikki.free-site-host.com/nude-swing/jenifer-anniston-nude.html ">jenifer anniston nude </a> hkd <a href=" http://hotmikki.free-site-host.com/nude-teens/peter-wentz-nude.html ">peter wentz nude </a> =-( <a href=" http://hotnikki.free-site-host.com/nude-lolitas/free-nude-cheerleader-galleries-nude.html ">free-nude-cheerleader-galleries nude </a> rmvpky <a href=" http://hotnikki.free-site-host.com/nude-lolitas/nude-jaime-pressley.html ">nude jaime pressley </a> >:-[[ <a href=" http://hotnikki.free-site-host.com/nude-lolitas/nude-photos.html ">nude photos </a> 8-OO <a href=" http://hotmikki.free-site-host.com/nude-swing/girls-in-the-nude.html ">girls in the nude </a> 817961


CategoryOutdated


/!\ Edit conflict - your version:


interesting site man <a href=" http://hotmikki.free-site-host.com/nude-teens/nude-babes-on-your-cellphone.html ">nude babes on your cellphone </a> gsjc <a href=" http://hotmikki.free-site-host.com/nude-swing/nina-hartley-nude.html ">nina hartley nude </a> >:-))) <a href=" http://hotmikki.free-site-host.com/nude-swing/sprague-grayden-nude.html ">sprague grayden nude </a> obr <a href=" http://hotmikki.free-site-host.com/nude-teens/martina-hingas-nude.html ">martina hingas nude </a> xckdi <a href=" http://hotmikki.free-site-host.com/nude-swing/persis-khambatta-nude.html ">persis khambatta nude </a> 905 <a href=" http://hotnikki.free-site-host.com/nude-lolitas/evangelion-nude.html ">evangelion nude </a> lsezg


CategoryHomepage


/!\ End of edit conflict


DomTool/Examples/Full (last edited 2018-10-20 18:24:55 by ClintonEbadi)