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.conf21
1 files changed, 14 insertions, 7 deletions
diff --git a/abs/core/lighttpd/lighttpd.conf b/abs/core/lighttpd/lighttpd.conf
index f437484..9851727 100644
--- a/abs/core/lighttpd/lighttpd.conf
+++ b/abs/core/lighttpd/lighttpd.conf
@@ -14,15 +14,15 @@
server.modules = (
"mod_rewrite",
# "mod_redirect",
-# "mod_alias",
+ "mod_alias",
"mod_access",
# "mod_cml",
# "mod_trigger_b4_dl",
"mod_auth",
-# "mod_status",
+ "mod_status",
"mod_setenv",
"mod_fastcgi",
-# "mod_proxy",
+ "mod_proxy",
# "mod_simple_vhost",
# "mod_evhost",
# "mod_userdir",
@@ -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
#
@@ -235,7 +240,9 @@ server.groupname = "http"
)
#### CGI module
cgi.assign = ( ".pl" => "/usr/bin/perl",
- ".cgi" => "/usr/bin/perl" )
+ ".cgi" => "/usr/bin/perl",
+ ".sh" => "/bin/bash",
+ ".py" => "/usr/bin/python")
url.rewrite-once = (
"^/mythweb/(css|data|images|js|themes|skins|[a-z_]+\.(php|pl)).*" => "$0",