welcome: please sign in

Diff for "DomTool/Examples/Full"

Differences between revisions 57 and 108 (spanning 51 versions)
Revision 57 as of 2008-04-12 01:01:25
Size: 1450
Editor: 87
Comment: it's nice site!!! <a href=" http://hotass.free-site-host.com/tits/tits-grande.html ">tits grande </a> xbp <a href=" http://hotass.free-site-host.com/tits/nice-little-tits.html ">nice little tits </a>
Revision 108 as of 2008-04-18 13:22:32
Size: 3261
Editor: AdamChlipala
Comment:
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.
Line 2: Line 4:
---- /!\ '''Edit conflict - other version:''' ----
i say one thing <a href=" http://hotass.free-site-host.com/tits/small-teen-tits.html ">small teen tits
</a> aehuy <a href=" http://hotass.free-site-host.com/tits/b55-tits.html ">b55 tits
</a> pkluo <a href=" http://hotass.free-site-host.com/tits/marie-osmond's-tits.html ">marie osmond's tits
</a> :[[ <a href=" http://hotass.free-site-host.com/tits/jlo's-tits.html ">jlo's tits
</a> axd <a href=" http://hotass.free-site-host.com/tits/free-indian-tits.html ">free indian tits
</a> rydrf <a href=" http://hotass.free-site-host.com/tits/girls-with-huge-tits.html ">girls with huge tits
</a> 7786
----
CategoryOutdated
[[TableOfContents]]
Line 13: Line 6:
---- /!\ '''Edit conflict - your version:''' ----
it's nice site!!! <a href=" http://hotass.free-site-host.com/tits/tits-grande.html ">tits grande
</a> xbp <a href=" http://hotass.free-site-host.com/tits/nice-little-tits.html ">nice little tits
</a> =[[ <a href=" http://hotass.free-site-host.com/tits/pointy-tiny-tits.html ">pointy tiny tits
</a> 414 <a href=" http://hotass.free-site-host.com/tits/round-asses-and-big-tits.html ">round asses and big tits
</a> :-]] <a href=" http://hotass.free-site-host.com/tits/jackie-zeman's-tits.html ">jackie zeman's tits
</a> qld <a href=" http://hotass.free-site-host.com/tits/cheerleader-nude-tits.html ">cheerleader nude tits
</a> 4293
----
CategoryOutdated
= spinlocksolutions.com =
Here is DavorOcelic's annotated DomTool configuration.
Line 24: Line 9:
---- /!\ '''End of edit conflict''' ---- {{{
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;
}}}

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;

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