templates/config/server.template

Wed, 26 Oct 2016 15:53:56 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 26 Oct 2016 15:53:56 +0200
changeset 118
38bf6dd8f4e7
parent 45
a24aa388f02f
child 257
bfeb015c98a4
permissions
-rw-r--r--

adds minimal cgi implementation

some env vars still missing
request body not supported yet

40
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
1 #
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
2 # server.conf
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
3 #
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
4
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
5 <Runtime>
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
6 Temp /tmp/webserver-rw6pgl8b/
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
7 User webservd
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
8 MimeFile mime.types
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
9 </Runtime>
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
10
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
11 <LogFile>
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
12 File logs/errors
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
13 Level INFO
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
14 </LogFile>
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
15
45
a24aa388f02f added access log
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 40
diff changeset
16 <AccessLog>
a24aa388f02f added access log
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 40
diff changeset
17 File logs/access
a24aa388f02f added access log
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 40
diff changeset
18 </AccessLog>
a24aa388f02f added access log
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 40
diff changeset
19
40
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
20 <EventHandler>
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
21 Name default
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
22 Threads 1
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
23 Default true
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
24 </EventHandler>
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
25
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
26 <Threadpool>
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
27 Name default
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
28 MinThreads 4
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
29 MaxThreads 32
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
30 </Threadpool>
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
31
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
32 <Listener>
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
33 Name http-listener-1
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
34 Port 9090
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
35 DefaultVS %%WS_HOST%%
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
36 </Listener>
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
37
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
38 <Listener>
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
39 Name http-listener-2
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
40 Port 9091
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
41 DefaultVS %%WS_HOST%%
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
42 </Listener>
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
43
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
44 <VirtualServer>
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
45 Name %%WS_HOST%%
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
46 Host %%WS_HOST%%
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
47 Listener http-listener-1
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
48 Listener http-listener-2
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
49 ObjectFile obj.conf
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
50 ACLFile acl.conf
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
51 DAVFile dav.conf
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
52 DocRoot docs/
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
53 </VirtualServer>
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
54
56cda23f48d4 removed NSPR
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
55

mercurial