templates/config/server.template

changeset 40
56cda23f48d4
child 45
a24aa388f02f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/config/server.template	Mon Dec 31 00:07:52 2012 +0100
@@ -0,0 +1,56 @@
+#
+# server.conf
+#
+
+<Runtime>
+	Temp        /tmp/webserver-rw6pgl8b/
+	User        webservd
+	MimeFile    mime.types
+</Runtime>
+
+<LogFile>
+	File        logs/errors
+	Level       INFO
+</LogFile>
+
+<EventHandler>
+    Name        default
+    Threads     1
+    Default     true
+</EventHandler>
+
+<Threadpool>
+    Name        default
+    MinThreads  4
+    MaxThreads  32
+</Threadpool>
+
+<AuthDB>
+    Name        keyfile
+    Type        keyfile
+</AuthDB>
+
+<Listener>
+    Name        http-listener-1
+    Port        9090
+    DefaultVS   %%WS_HOST%%
+</Listener>
+
+<Listener>
+    Name        http-listener-2
+    Port        9091
+    DefaultVS   %%WS_HOST%%
+</Listener>
+
+<VirtualServer>
+	Name        %%WS_HOST%%
+	Host        %%WS_HOST%%
+    Listener    http-listener-1
+    Listener    http-listener-2
+    ObjectFile  obj.conf
+    ACLFile     acl.conf
+    DAVFile     dav.conf
+    DocRoot     docs/ 
+</VirtualServer>
+
+

mercurial