version 1.1, 2013/10/14 10:32:47
|
version 1.1.1.2, 2016/11/02 10:35:00
|
Line 12 server.force-lowercase-filenames = "enable"
|
Line 12 server.force-lowercase-filenames = "enable"
|
|
|
server.dir-listing = "enable" |
server.dir-listing = "enable" |
|
|
server.modules = ( | server.modules = ( |
"mod_rewrite", | "mod_rewrite", |
"mod_setenv", | "mod_setenv", |
"mod_secdownload", | "mod_secdownload", |
"mod_access", | "mod_access", |
"mod_auth", | "mod_auth", |
"mod_status", | "mod_status", |
"mod_expire", | "mod_expire", |
"mod_redirect", | "mod_redirect", |
"mod_fastcgi", | "mod_fastcgi", |
"mod_cgi" ) | "mod_cgi", |
| ) |
|
|
server.indexfiles = ( "index.php", "index.html", | server.indexfiles = ( |
"index.htm", "default.htm" ) | "index.php", |
| "index.html", |
| "index.htm", |
| "default.htm", |
| ) |
|
|
|
|
######################## MODULE CONFIG ############################ |
######################## MODULE CONFIG ############################ |
|
|
mimetype.assign = ( ".png" => "image/png", | mimetype.assign = ( |
".jpg" => "image/jpeg", | ".png" => "image/png", |
".jpeg" => "image/jpeg", | ".jpg" => "image/jpeg", |
".gif" => "image/gif", | ".jpeg" => "image/jpeg", |
".html" => "text/html", | ".gif" => "image/gif", |
".htm" => "text/html", | ".html" => "text/html", |
".pdf" => "application/pdf", | ".htm" => "text/html", |
".swf" => "application/x-shockwave-flash", | ".pdf" => "application/pdf", |
".spl" => "application/futuresplash", | ".swf" => "application/x-shockwave-flash", |
".txt" => "text/plain", | ".spl" => "application/futuresplash", |
".tar.gz" => "application/x-tgz", | ".txt" => "text/plain", |
".tgz" => "application/x-tgz", | ".tar.gz" => "application/x-tgz", |
".gz" => "application/x-gzip", | ".tgz" => "application/x-tgz", |
".c" => "text/plain", | ".gz" => "application/x-gzip", |
".conf" => "text/plain" ) | ".c" => "text/plain", |
| ".conf" => "text/plain", |
| ) |
|
|
fastcgi.debug = 0 | fastcgi.debug = 0 |
fastcgi.server = ( ".php" => ( ( "host" => "127.0.0.1", "port" => 1026, "broken-scriptfilename" => "enable" ) ), | fastcgi.server = ( |
"/prefix.fcgi" => ( ( "host" => "127.0.0.1", "port" => 1026, "check-local" => "disable", "broken-scriptfilename" => "enable" ) ) | ".php" => ( ( |
) | "host" => "127.0.0.1", |
| "port" => 1026, |
| "broken-scriptfilename" => "enable", |
| ) ), |
| "/prefix.fcgi" => ( ( |
| "host" => "127.0.0.1", |
| "port" => 1026, |
| "check-local" => "disable", |
| "broken-scriptfilename" => "enable", |
| ) ), |
| ) |
|
|
|
cgi.assign = ( |
|
".pl" => env.PERL, |
|
".cgi" => env.PERL, |
|
) |
|
|
cgi.assign = ( ".pl" => "/usr/bin/perl", | auth.backend = "plain" |
".cgi" => "/usr/bin/perl", | |
".py" => "/usr/bin/python" ) | |
| |
auth.backend = "plain" | |
auth.backend.plain.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.user" |
auth.backend.plain.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.user" |
|
|
auth.backend.htpasswd.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.htpasswd" |
auth.backend.htpasswd.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.htpasswd" |
|
|
$HTTP["host"] == "lowercase-auth" { |
$HTTP["host"] == "lowercase-auth" { |
auth.require = ( "/image.jpg" => | auth.require = ( |
( | "/image.jpg" => ( |
"method" => "digest", | "method" => "digest", |
"realm" => "download archiv", | "realm" => "download archiv", |
"require" => "valid-user" | "require" => "valid-user", |
) | ), |
) | ) |
} |
} |
|
|
$HTTP["host"] == "lowercase-deny" { |
$HTTP["host"] == "lowercase-deny" { |
url.access-deny = ( ".jpg") | url.access-deny = ( |
| ".jpg", |
| ) |
} |
} |
|
|
$HTTP["host"] == "lowercase-exclude" { |
$HTTP["host"] == "lowercase-exclude" { |
static-file.exclude-extensions = ( ".jpg" ) | static-file.exclude-extensions = ( |
| ".jpg", |
| ) |
} |
} |