|
|
|
@ -19,7 +19,7 @@ server.errorlog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log
|
|
|
|
|
server.name = "www.example.org"
|
|
|
|
|
server.tag = "Apache 1.3.29"
|
|
|
|
|
|
|
|
|
|
##
|
|
|
|
|
##
|
|
|
|
|
## Format: <errorfile-prefix><status>.html
|
|
|
|
|
## -> ..../status-404.html for 'File not found'
|
|
|
|
|
#server.errorfile-prefix = "/home/weigon/projects/lighttpd/doc/status-"
|
|
|
|
@ -30,23 +30,23 @@ server.dir-listing = "enable"
|
|
|
|
|
#server.event-handler = "linux-rtsig"
|
|
|
|
|
|
|
|
|
|
#server.modules.path = ""
|
|
|
|
|
server.modules = (
|
|
|
|
|
"mod_rewrite",
|
|
|
|
|
"mod_access",
|
|
|
|
|
server.modules = (
|
|
|
|
|
"mod_rewrite",
|
|
|
|
|
"mod_access",
|
|
|
|
|
"mod_auth",
|
|
|
|
|
# "mod_httptls",
|
|
|
|
|
"mod_status",
|
|
|
|
|
"mod_status",
|
|
|
|
|
"mod_expire",
|
|
|
|
|
# "mod_simple_vhost",
|
|
|
|
|
"mod_redirect",
|
|
|
|
|
"mod_redirect",
|
|
|
|
|
# "mod_evhost",
|
|
|
|
|
# "mod_localizer",
|
|
|
|
|
"mod_fastcgi",
|
|
|
|
|
"mod_cgi",
|
|
|
|
|
"mod_compress",
|
|
|
|
|
"mod_accesslog" )
|
|
|
|
|
"mod_accesslog" )
|
|
|
|
|
|
|
|
|
|
server.indexfiles = ( "index.php", "index.html",
|
|
|
|
|
server.indexfiles = ( "index.php", "index.html",
|
|
|
|
|
"index.htm", "default.htm" )
|
|
|
|
|
|
|
|
|
|
#,-- only root can use these options
|
|
|
|
@ -58,7 +58,7 @@ server.indexfiles = ( "index.php", "index.html",
|
|
|
|
|
#|# change uid to <uid> (default: don't care)
|
|
|
|
|
#| server.groupid wwwrun
|
|
|
|
|
#|
|
|
|
|
|
#`--
|
|
|
|
|
#`--
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
######################## MODULE CONFIG ############################
|
|
|
|
@ -66,7 +66,7 @@ server.indexfiles = ( "index.php", "index.html",
|
|
|
|
|
|
|
|
|
|
accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"
|
|
|
|
|
|
|
|
|
|
mimetype.assign = ( ".png" => "image/png",
|
|
|
|
|
mimetype.assign = ( ".png" => "image/png",
|
|
|
|
|
".jpg" => "image/jpeg",
|
|
|
|
|
".jpeg" => "image/jpeg",
|
|
|
|
|
".gif" => "image/gif",
|
|
|
|
@ -86,8 +86,8 @@ compress.cache-dir = env.SRCDIR + "/tmp/lighttpd/cache/compress/"
|
|
|
|
|
compress.filetype = ("text/plain", "text/html")
|
|
|
|
|
|
|
|
|
|
fastcgi.debug = 0
|
|
|
|
|
fastcgi.server = ( ".fcgi" => (
|
|
|
|
|
"grisu" => (
|
|
|
|
|
fastcgi.server = ( ".fcgi" => (
|
|
|
|
|
"grisu" => (
|
|
|
|
|
"host" => "127.0.0.1",
|
|
|
|
|
"port" => 10000,
|
|
|
|
|
"bin-path" => env.SRCDIR + "/fcgi-responder",
|
|
|
|
@ -97,12 +97,12 @@ fastcgi.server = ( ".fcgi" => (
|
|
|
|
|
)
|
|
|
|
|
)
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cgi.assign = ( ".pl" => "/usr/bin/perl",
|
|
|
|
|
".cgi" => "/usr/bin/perl",
|
|
|
|
|
".py" => "/usr/bin/python" )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ssl.engine = "disable"
|
|
|
|
@ -116,22 +116,22 @@ auth.backend.ldap.hostname = "localhost"
|
|
|
|
|
auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
|
|
|
|
|
auth.backend.ldap.filter = "(uid=$)"
|
|
|
|
|
|
|
|
|
|
auth.require = ( "/server-status" =>
|
|
|
|
|
(
|
|
|
|
|
auth.require = ( "/server-status" =>
|
|
|
|
|
(
|
|
|
|
|
"method" => "digest",
|
|
|
|
|
"realm" => "download archiv",
|
|
|
|
|
# "require" => ("group=www", "user=jan", "host=192.168.2.10")
|
|
|
|
|
"require" => "group=www|user=jan|host=192.168.2.10"
|
|
|
|
|
),
|
|
|
|
|
"/auth.php" =>
|
|
|
|
|
(
|
|
|
|
|
"/auth.php" =>
|
|
|
|
|
(
|
|
|
|
|
"method" => "basic",
|
|
|
|
|
"realm" => "download archiv",
|
|
|
|
|
# "require" => ("group=www", "user=jan", "host=192.168.2.10")
|
|
|
|
|
"require" => "user=jan"
|
|
|
|
|
),
|
|
|
|
|
"/server-config" =>
|
|
|
|
|
(
|
|
|
|
|
"/server-config" =>
|
|
|
|
|
(
|
|
|
|
|
"method" => "basic",
|
|
|
|
|
"realm" => "download archiv",
|
|
|
|
|
# "require" => ("group=www", "user=jan", "user=weigon", "host=192.168.2.10")
|
|
|
|
|