welcome: please sign in

Diff for "DomTool/Examples/Full"

Differences between revisions 69 and 134 (spanning 65 versions)
Revision 69 as of 2008-04-12 19:53:30
Size: 1097
Editor: 202
Comment: great work man thx <a href=" http://hotsusy.free-site-host.com/naked-women/naked-gay-bodybuilders.html ">naked gay bodybuilders </a> 82293 <a href=" http://hotsusy.free-site-host.com/naked-women/nake
Revision 134 as of 2018-10-20 18:24:55
Size: 3953
Editor: ClintonEbadi
Comment: placing anything not meant to be served from hcoop.net/~YOU considered dangerous
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
great work man thx <a href=" http://hotsusy.free-site-host.com/naked-women/naked-gay-bodybuilders.html ">naked gay bodybuilders
</a> 82293 <a href=" http://hotsusy.free-site-host.com/naked-women/naked-smoothies.html ">naked smoothies
</a> %-]]] <a href=" http://hotsusy.free-site-host.com/naked-women/naked-eyes-th-band.html ">naked eyes th band
</a> %-PPP <a href=" http://hotsusy.free-site-host.com/naked-women/naked-pics-of-eminem.html ">naked pics of eminem
</a> 268 <a href=" http://hotsusy.free-site-host.com/naked-women/mature-blacks-naked.html ">mature blacks naked
</a> xmzyl <a href=" http://hotsusy.free-site-host.com/naked-women/african-yuon-boys-gay-naked.html ">african yuon boys gay naked
</a> =[ <a href=" http://hotsusy.free-site-host.com/naked-women/naked-boy-party.html ">naked boy party
</a> flul <a href=" http://hotsusy.free-site-host.com/naked-women/naked-came-the-phoenix.html ">naked came the phoenix
</a> lpa <a href=" http://hotsusy.free-site-host.com/naked-women/all-black-pussy-naked.html ">all black pussy naked
</a> kbypbx
#acl Known:read,write,revert,admin All:read
#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>>

= spinlocksolutions.com =
Here is DavorOcelic's annotated DomTool configuration.

{{{
dom "spinlocksolutions.com" where
  Aliases = ["spinlock-solutions.com"];
  DocumentRoot = home "web/spinlocksolutions.com";
  WWW = begin
    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
with
  dnsIP "secure" mire_ip;
  dnsIP "mail" deleuze_ip;
  dnsIP "rt" "195.29.212.142";

  web "techpubs" where
    DocumentRoot = home "web/techpubs.sl.com";
  with
    addDefaultCharset "utf-8";
    directoryIndex ["index.html"];

    directory ( home "web/techpubs.sl.com/" ) with
            options [ indexes, followSymLinks ];
            orderAllowDeny;
            allowFromAll;
            (* addDescription "Hands-on Debian GNU Guide" ["debian.html"]; *)
        headerName "/HEADER.html";
        readmeName "README";
        indexOptions [descriptionWidth autofit, fancyIndexing,
          foldersFirst, nameWidth autofit, scanHtmlTitles ,
          suppressHtmlPreamble, trackModified, versionSort,
          suppressRules, suppressIcon];
        indexIgnore [".htaccess", "*.bak", "*~"];
    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;
end;
}}}
= distortions.net =
Here's RyanMikulovsky's very simple example:

{{{
dom "distortions.net" where
  DefaultAlias = false; (* avoids *@distortions.net e-mail alias *)
  DocumentRoot = home "websites/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 "websites/geo/wordpress/"
  end;
  web "biblio" where
    DocumentRoot = home "websites/distortions.net/biblio";
  with
   addDefaultCharset "utf-8"; (* probably not necessary... *)
  end;
  web "chemistry" where
   DocumentRoot = home "websites/chemistry";
  with
  end;
  web "gallery" where (* for Gallery PHP software *)
   DocumentRoot = home "websites/gallery";
  with
  end;
end;
}}}

= covariant.me =

This is DaniilFrumin's simple website featuring a bunch of html files generated by a static site generator Hakyll, and a DarcsWeb instance

{{{
dom "covariant.me" where
  WWW = begin
    options [indexes];
    set_indexOptions [fancyIndexing];
    readmeName "README";
  end;
with
  web "repos" where
    DocumentRoot = home "www/repos.covariant.me/";
  with
    scriptAlias "/browse" (home "darcsweb/darcsweb.cgi");
    rewriteRule "^/$" "/browse" [redirectWith permanent];
  end;

  simpleWeb "darcs" "websites/stuff/darcs/";

  emailAlias "dan" "<REDACTED>"
end;
}}}
Line 12: Line 133:
CategoryHomepage CategoryMemberManual CategoryNeedsWork

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.

spinlocksolutions.com

Here is DavorOcelic's annotated DomTool configuration.

dom "spinlocksolutions.com" where
  Aliases = ["spinlock-solutions.com"];
  DocumentRoot = home "web/spinlocksolutions.com";
  WWW = begin
    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
with
  dnsIP "secure" mire_ip;
  dnsIP "mail" deleuze_ip;
  dnsIP "rt" "195.29.212.142";

  web "techpubs" where
    DocumentRoot = home "web/techpubs.sl.com";
  with
    addDefaultCharset "utf-8";
    directoryIndex ["index.html"];

    directory ( home "web/techpubs.sl.com/" ) with
            options [ indexes, followSymLinks ];
            orderAllowDeny;
            allowFromAll;
            (* addDescription "Hands-on Debian GNU Guide" ["debian.html"]; *)
        headerName "/HEADER.html";
        readmeName "README";
        indexOptions [descriptionWidth autofit, fancyIndexing,
          foldersFirst, nameWidth autofit, scanHtmlTitles ,
          suppressHtmlPreamble, trackModified, versionSort,
          suppressRules, suppressIcon];
        indexIgnore [".htaccess", "*.bak", "*~"];
    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;
end;

distortions.net

Here's RyanMikulovsky's very simple example:

dom "distortions.net" where
  DefaultAlias = false;  (* avoids *@distortions.net e-mail alias *)
  DocumentRoot = home "websites/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 "websites/geo/wordpress/"
  end;
  web "biblio" where
    DocumentRoot = home "websites/distortions.net/biblio";
  with
   addDefaultCharset "utf-8"; (* probably not necessary... *)
  end;
  web "chemistry" where
   DocumentRoot = home "websites/chemistry";
  with
  end;
  web "gallery" where (* for Gallery PHP software *)
   DocumentRoot = home "websites/gallery";
  with
  end;
end;

covariant.me

This is DaniilFrumin's simple website featuring a bunch of html files generated by a static site generator Hakyll, and a DarcsWeb instance

dom "covariant.me" where
  WWW = begin
    options [indexes];
    set_indexOptions [fancyIndexing];
    readmeName "README";
  end;
with
  web "repos" where
    DocumentRoot = home "www/repos.covariant.me/";
  with
    scriptAlias "/browse" (home "darcsweb/darcsweb.cgi");
    rewriteRule "^/$" "/browse" [redirectWith permanent];
  end;

  simpleWeb "darcs" "websites/stuff/darcs/";

  emailAlias "dan" "<REDACTED>"
end;


CategoryMemberManual CategoryNeedsWork

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