2 # lighttpd configuration file.
4 include_shell "/bin/cat conf.d/*.conf"
6 ## a static document-root, for virtual-hosting take look at the
7 ## server.virtual-* options
8 server.document-root = "/home/services/lighttpd/html/"
10 ## where to send error-messages to
11 server.errorlog = "/var/log/lighttpd/error.log"
12 server.pid-file = "/var/run/lighttpd.pid"
15 # include, relative to dirname of main config file
16 include "mime.types.conf"
18 ## set the event-handler (read the performance section in the manual)
19 # Linux 2.4+ rt-signals linux-rtsig
20 # Linux 2.6+ epoll linux-sysepoll
21 #server.event-handler = "linux-sysepoll"
23 # maximum number of seconds until a waiting write call times out and closes the connection
25 #server.max-write-idle = 360
27 # Use the "Content-Type" extended attribute to obtain mime type if possible
28 #mimetype.use-xattr = "enable"
30 ## send a different Server: header
31 ## be nice and keep it at lighttpd
32 #server.tag = "lighttpd"
34 $HTTP["url"] =~ "\.pdf$" {
35 server.range-requests = "disable"
38 ######### Options that are good to be but not neccesary to be changed #######
40 ## bind to port (default: 80)
43 ## bind to localhost (default: all interfaces)
44 #server.bind = "grisu.home.kneschke.de"
46 ## error-handler for status 404
47 #server.error-handler-404 = "/error-handler.html"
48 #server.error-handler-404 = "/error-handler.php"
51 ## Format: <errorfile-prefix><status-code>.html
52 ## -> ..../status-404.html for 'File not found'
53 #server.errorfile-prefix = "/home/weigon/projects/lighttpd/doc/status-"
56 #debug.log-request-header = "enable"
57 #debug.log-response-header = "enable"
58 #debug.log-request-handling = "enable"
59 #debug.log-file-not-found = "enable"
60 #debug.log-condition-handling = "enable"
62 ### only root can use these options
64 # chroot() to directory (default: no chroot() )
67 ## change uid to <uid> (default: don't care)
68 server.username = "lighttpd"
70 ## change uid to <uid> (default: don't care)
71 server.groupname = "lighttpd"
75 #connection.kbytes-per-second = 32
76 #server.kbytes-per-second = 128
79 include_shell "/bin/cat webapps.d/*.conf"