summaryrefslogtreecommitdiffstats
path: root/abs/core/lighttpd/lighttpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/lighttpd/lighttpd.conf')
-rw-r--r--abs/core/lighttpd/lighttpd.conf11
1 files changed, 8 insertions, 3 deletions
diff --git a/abs/core/lighttpd/lighttpd.conf b/abs/core/lighttpd/lighttpd.conf
index 79d4f66..9851727 100644
--- a/abs/core/lighttpd/lighttpd.conf
+++ b/abs/core/lighttpd/lighttpd.conf
@@ -40,7 +40,14 @@ server.modules = (
server.document-root = "/data/srv/httpd/htdocs"
## where to send error-messages to
-server.errorlog = "/var/log/lighttpd/error.log"
+#server.errorlog = "/var/log/lighttpd/error.log"
+#### accesslog module
+#accesslog.filename = "/var/log/lighttpd/access.log"
+
+#send errors to syslog
+server.errorlog-use-syslog = "enable"
+$HTTP["url"] !~ "\.(jpe?g|png|gif|css)" { accesslog.use-syslog = "enable" }
+
# files to check for if .../ is requested
index-file.names = ( "index.php", "index.html",
@@ -116,8 +123,6 @@ mimetype.assign = (
## be nice and keep it at lighttpd
# server.tag = "lighttpd"
-#### accesslog module
-accesslog.filename = "/var/log/lighttpd/access.log"
## deny access the file-extensions
#