welcome: please sign in

Diff for "DomTool/Examples/Full"

Differences between revisions 14 and 61 (spanning 47 versions)
Revision 14 as of 2008-02-25 01:13:53
Size: 3261
Editor: MichaelOlson
Comment: Remove my domtool config
Revision 61 as of 2008-04-12 08:57:57
Size: 842
Editor: c-71-207-226-73
Comment: hi nice site thx <a href=" http://hotpetry.free-site-host.com/nude-gay-boys/older-men-and-boys-gay-stories-erotica.html ">older men and boys gay stories erotica </a> pncwtf <a href=" http://hotpetry.
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]]

= 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 "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;
}}}
hi nice site thx <a href=" http://hotpetry.free-site-host.com/nude-gay-boys/older-men-and-boys-gay-stories-erotica.html ">older men and boys gay stories erotica
</a> pncwtf <a href=" http://hotpetry.free-site-host.com/nude-gay-boys/what-percentage-of-the-american-population-identifies-as-gay.html ">what percentage of the american population identifies as gay
</a> 8-DDD <a href=" http://hotpetry.free-site-host.com/nude-gay-boys/large-tony-gay.html ">large tony gay
</a> 8-OOO <a href=" http://hotpetry.free-site-host.com/nude-models/paradise-nude.html ">paradise nude
</a> 447 <a href=" http://hotpetry.free-site-host.com/nude-models/ten-year-old-girls-nude.html ">ten year old girls nude
</a> 196192 <a href=" http://hotpetry.free-site-host.com/nude-gay-boys/gay-holiday.html ">gay holiday
</a> yftna
----
CategoryCategory

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