Apache directory options
[hcoop/domtool2.git] / tests / testApache.dtl
index 7e57594..ff45dfa 100644 (file)
@@ -25,12 +25,20 @@ domain "hcoop.net" with
                proxyPass "/proxyLand" "http://localhost:1234/otherProxyLand";
                proxyPassReverse "/proxyLand" "http://localhost:1234/otherProxyLand";
 
                proxyPass "/proxyLand" "http://localhost:1234/otherProxyLand";
                proxyPassReverse "/proxyLand" "http://localhost:1234/otherProxyLand";
 
+               options [execCGI];
+               set_options [execCGI, indexes];
+
+               scriptAlias "/cgi-bin/that-script" "/home/adamc/cgi/here-it-is";
+               errorDocument "404" "I just couldn't find it.";
+
                directory "/home/adamc/thisPlace" with
                        rewriteRule "A" "B" [];
                directory "/home/adamc/thisPlace" with
                        rewriteRule "A" "B" [];
+                       unset_options [includesNOEXEC];
                end
        end;
 
        vhost "lists" with
                proxyPass "/mailman" "http://hcoop.net/cgi-bin/mailman";
                end
        end;
 
        vhost "lists" with
                proxyPass "/mailman" "http://hcoop.net/cgi-bin/mailman";
+               alias "/doc/mailman" "/home/adamc/mailman"
        end
 end
        end
 end