server.errorlog = "/var/log/lighttpd/error.log"
#server.errorlog-use-syslog = "enable"
+## http://redmine.lighttpd.net/projects/lighttpd/repository/revisions/2550
+## NOTE: It is not reopened in log_error_cycle, so don't setup logrotate to this.
+server.breakagelog = "/var/log/lighttpd/breakage.log"
+
server.pid-file = "/var/run/lighttpd.pid"
# mimetype mapping
-# include, relative to dirname of main config file
include "mime.types.conf"
+# default mime type
+mimetype.assign += (
+ "" => "application/octet-stream",
+)
## set the event-handler (read the performance section in the manual)
# Linux 2.4+ rt-signals linux-rtsig
# Linux 2.6+ epoll linux-sysepoll
#server.event-handler = "linux-sysepoll"
+# default cames from ulimit -n
+#server.max-fds = 8192
+
+# maximum number of request within a keep-alive session before the server terminates the connection
+# default 16
+#server.max-keep-alive-requests = 16
+
+# Maximum number of seconds until an idling keep-alive connection is dropped.
+# default 30
+#server.max-keep-alive-idle = 30
+
+# maximum number of seconds until a waiting, non keep-alive read times out and closes the connection
+# default 60
+#server.max-read-idle = 60
+
# maximum number of seconds until a waiting write call times out and closes the connection
# default 360
#server.max-write-idle = 360
server.range-requests = "disable"
}
+## Skip responding with 417 for unhandled Expect header for some broken applications
+#server.reject-expect-100-with-417 = "disable"
+
######### Options that are good to be but not neccesary to be changed #######
## bind to port (default: 80)
## bind to specific host (default: all interfaces)
## the name is resolved to ip at startup only.
-#server.bind = "grisu.home.kneschke.de"
+#server.bind = "www.example.org"
## additionally just bind to localhost:80
#$SERVER["socket"] == "127.0.0.1:80" {}
#debug.log-request-handling = "enable"
#debug.log-file-not-found = "enable"
#debug.log-condition-handling = "enable"
+#debug.log-timeouts = "enable"
### only root can use these options
#