URL handling
[hcoop/domtool2.git] / lib / urls.dtl
diff --git a/lib/urls.dtl b/lib/urls.dtl
new file mode 100644 (file)
index 0000000..89bac62
--- /dev/null
@@ -0,0 +1,11 @@
+{{Basic Apache URL handling}}
+
+extern val alias : location -> your_path -> [Vhost];
+{{All requests for the location should be served from the path.}}
+
+extern val scriptAlias : location -> your_path -> [Vhost];
+{{Like <tt>alias</tt>, for Apache's <tt>ScriptAlias</tt>}}
+
+extern val errorDocument : no_spaces -> no_newlines -> [^Vhost];
+{{The first argument specifies an HTTP error code, which should be handled using
+  the second argument, which is either a URL or a string to display.}}