diff options
author | Britney Fransen <brfransen@gmail.com> | 2017-01-19 21:41:00 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2017-01-19 21:41:00 (GMT) |
commit | d0b37ccccc013118824437c8afdf3c48dd4d6530 (patch) | |
tree | 443e6b7f12822b8a0a3fdb5a290757a817e7eb5b /abs/core/lighttpd/lighttpd.conf | |
parent | 1746d0620fa928d3a5d0270f03beff5f3cf44e41 (diff) | |
download | linhes_pkgbuild-d0b37ccccc013118824437c8afdf3c48dd4d6530.zip linhes_pkgbuild-d0b37ccccc013118824437c8afdf3c48dd4d6530.tar.gz linhes_pkgbuild-d0b37ccccc013118824437c8afdf3c48dd4d6530.tar.bz2 |
lighttpd: update 1.4.45
Diffstat (limited to 'abs/core/lighttpd/lighttpd.conf')
-rw-r--r-- | abs/core/lighttpd/lighttpd.conf | 18 |
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" |