UNIXworkcode

1 # 2 # server.conf 3 # 4 5 Runtime 6 { 7 Temp /tmp/webserver-rw6pgl8b/ 8 User webservd 9 MimeFile mime.types 10 } 11 12 LogFile 13 { 14 File logs/errors 15 Level INFO 16 } 17 18 AccessLog 19 { 20 File logs/access 21 } 22 23 EventHandler 24 { 25 Name default 26 Threads 1 27 Default true 28 } 29 30 Threadpool 31 { 32 Name default 33 MinThreads 4 34 MaxThreads 32 35 } 36 37 Listener 38 { 39 Name http-listener-1 40 Port 9090 41 DefaultVS %%WS_HOST%% 42 } 43 44 Listener 45 { 46 Name http-listener-2 47 Port 9091 48 DefaultVS %%WS_HOST%% 49 } 50 51 VirtualServer 52 { 53 Name %%WS_HOST%% 54 Host %%WS_HOST%% 55 Listener http-listener-1 56 Listener http-listener-2 57 ObjectFile obj.conf 58 ACLFile acl.conf 59 DAVFile dav.conf 60 DocRoot docs/ 61 } 62 63 64 65 66 67