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.conf18
1 files changed, 10 insertions, 8 deletions
diff --git a/abs/core/lighttpd/lighttpd.conf b/abs/core/lighttpd/lighttpd.conf
index 0d8becd..4d84dba 100644
--- a/abs/core/lighttpd/lighttpd.conf
+++ b/abs/core/lighttpd/lighttpd.conf
@@ -1,10 +1,8 @@
+#######################################################################
# lighttpd configuration file
#
-# use it as a base for lighttpd 1.0.0 and above
-#
-# $Id: lighttpd.conf,v 1.7 2004/11/03 22:26:05 weigon Exp $
-
-############ Options you really have to take care of ####################
+# /etc/lighttpd/lighttpd.conf
+#######################################################################
## modules to load
# at least mod_access and mod_accesslog should be loaded
@@ -28,7 +26,7 @@ server.modules = (
# "mod_userdir",
"mod_cgi",
# "mod_compress",
-# "mod_ssi",
+ "mod_ssi",
# "mod_usertrack",
# "mod_expire",
# "mod_secdownload",
@@ -242,10 +240,11 @@ fastcgi.server = (
#### CGI module
cgi.assign = ( ".pl" => "/usr/bin/perl",
".cgi" => "/usr/bin/perl",
- ".sh" => "/bin/bash",
+ ".sh" => "/usr/bin/bash",
".py" => "/usr/bin/python2")
-alias.url = ( "/unicorn" => "/data/srv/httpd/supercorn" )
+
alias.url += ( "/cgi-bin" => "/data/srv/httpd/cgi-bin/")
+
$HTTP["url"] =~ "^/cgi-bin" {
cgi.assign = ( "" => "" )
}
@@ -267,3 +266,6 @@ $HTTP["url"] =~ "^/cgi-bin" {
#include_shell "echo var.a=1"
## the above is same as:
#var.a=1
+
+include "/etc/lighttpd/conf.include"
+include "/etc/lighttpd/html.include"