summaryrefslogtreecommitdiffstats
path: root/abs/core/lighttpd
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-12-07 19:36:35 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-12-07 19:36:35 (GMT)
commitf57e609997d91dbdfaa2e18b1e6e7e95876831bc (patch)
tree60bf3ad30126b7ced68847bdece94affb1d570a4 /abs/core/lighttpd
parent47c0ea8ef7f8c24d434199b752d7d20f27ec0e6a (diff)
downloadlinhes_pkgbuild-f57e609997d91dbdfaa2e18b1e6e7e95876831bc.zip
linhes_pkgbuild-f57e609997d91dbdfaa2e18b1e6e7e95876831bc.tar.gz
linhes_pkgbuild-f57e609997d91dbdfaa2e18b1e6e7e95876831bc.tar.bz2
lighttpd: config file change
- enable logging through syslog
Diffstat (limited to 'abs/core/lighttpd')
-rw-r--r--abs/core/lighttpd/PKGBUILD2
-rw-r--r--abs/core/lighttpd/lighttpd.conf11
2 files changed, 9 insertions, 4 deletions
diff --git a/abs/core/lighttpd/PKGBUILD b/abs/core/lighttpd/PKGBUILD
index 1758f85..99d9eac 100644
--- a/abs/core/lighttpd/PKGBUILD
+++ b/abs/core/lighttpd/PKGBUILD
@@ -78,5 +78,5 @@ package() {
md5sums=('586eb535d31ac299652495b058dd87c4'
'bd690eee0d9e51857448770a151023b0'
'857e174643fd7761a2f0d8431a679f6c'
- 'e10f1f82029772115095d45fba3e966a'
+ '1a55e81d5501584fdf00b6fd0196f82f'
'c6e361131000ceec085f40b310ef4a2c')
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
#