diff options
| -rw-r--r-- | abs/core/lighttpd/PKGBUILD | 2 | ||||
| -rw-r--r-- | abs/core/lighttpd/lighttpd.conf | 11 | 
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  # | 
