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;