More Apache directory option stuff
[hcoop/domtool2.git] / tests / testApache.dtl
index acade80..e637d69 100644 (file)
@@ -6,7 +6,7 @@ domain "hcoop.net" with
                DocumentRoot = "/home/adamc/html";
                ServerAdmin = "adamc@hcoop.net"
        with
-
+               addDefaultCharset "mumbo-jumbo/incomprehensible"
        end;
 
        vhost "members" where
@@ -33,6 +33,8 @@ domain "hcoop.net" with
                scriptAlias "/cgi-bin/that-script" "/home/adamc/cgi/here-it-is";
                errorDocument "404" "I just couldn't find it.";
 
+               action "text/plain" "/cgi-bin/display";
+
                directory "/home/adamc/thisPlace" with
                        rewriteRule "A" "B" [];
                        unset_options [includesNOEXEC];
@@ -43,6 +45,10 @@ domain "hcoop.net" with
                proxyPass "/mailman" "http://hcoop.net/cgi-bin/mailman";
                alias "/doc/mailman" "/home/adamc/mailman";
 
+               location "/the-citadel" with
+                       forceTypeOff;
+               end;
+
                directoryIndex ["index.sml", "index.h", "index.v"]
        end;
 
@@ -56,6 +62,8 @@ domain "hcoop.net" with
                        requireUser ["freddy", "flicky"];
                        requireGroup ["awesome"];
 
+                       forceType "text/html";
+
                        orderDenyAllow;
                        satisfyAny
                end