welcome: please sign in

Diff for "DomTool/Examples/Full"

Differences between revisions 6 and 65 (spanning 59 versions)
Revision 6 as of 2007-11-23 20:35:07
Size: 3062
Editor: MichaelOlson
Comment: Update my example
Revision 65 as of 2008-04-12 14:27:29
Size: 938
Editor: 189-19-36-249
Comment: nice site dude <a href=" http://hotpussy.free-site-host.com/nude-girls/divas-nude.html ">divas nude </a> =[ <a href=" http://hotpussy.free-site-host.com/nude-girls/nude-female-photos.html ">nude fema
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma section-numbers off

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.

[[TableOfContents]]

= 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;
}}}
nice site dude <a href=" http://hotpussy.free-site-host.com/nude-girls/divas-nude.html ">divas nude
</a> =[ <a href=" http://hotpussy.free-site-host.com/nude-girls/nude-female-photos.html ">nude female photos
</a> yivb <a href=" http://hotpussy.free-site-host.com/nude-celebrities/nude-20women.html ">nude 20women
</a> 8]] <a href=" http://hotpussy.free-site-host.com/nude-girls/tucson-nude.html ">tucson nude
</a> 718780 <a href=" http://hotpussy.free-site-host.com/nude-boating/nude-paris-hilton-pics.html ">nude paris hilton pics
</a> 986803 <a href=" http://hotpussy.free-site-host.com/nude-girls/nude-marilyn-monroey.html ">nude marilyn monroey
</a> 629 <a href=" http://hotpussy.free-site-host.com/nude-celebrities/wwe-sabel-nude.html ">wwe sabel nude
</a> 429638 <a href=" http://hotpussy.free-site-host.com/nude-celebrities/raelee-hill-nude.html ">raelee hill nude
</a> rnjncl
----
CategorySystemAdministration

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