|
|
|
@ -81,6 +81,8 @@ mimetype.assign = (
|
|
|
|
|
".js" => "text/javascript",
|
|
|
|
|
".asc" => "text/plain",
|
|
|
|
|
".c" => "text/plain",
|
|
|
|
|
".cpp" => "text/plain",
|
|
|
|
|
".log" => "text/plain",
|
|
|
|
|
".conf" => "text/plain",
|
|
|
|
|
".text" => "text/plain",
|
|
|
|
|
".txt" => "text/plain",
|
|
|
|
@ -117,7 +119,9 @@ accesslog.filename = "/www/logs/access.log"
|
|
|
|
|
# of the document-root
|
|
|
|
|
url.access-deny = ( "~", ".inc" )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$HTTP["url"] =~ "\.pdf$" {
|
|
|
|
|
server.range-requests = "disable"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
######### Options that are good to be but not neccesary to be changed #######
|
|
|
|
|
|
|
|
|
@ -228,13 +232,13 @@ url.access-deny = ( "~", ".inc" )
|
|
|
|
|
# (
|
|
|
|
|
# "method" => "digest",
|
|
|
|
|
# "realm" => "download archiv",
|
|
|
|
|
# "require" => "group=www|user=jan|host=192.168.2.10"
|
|
|
|
|
# "require" => "user=jan"
|
|
|
|
|
# ),
|
|
|
|
|
# "/server-info" =>
|
|
|
|
|
# (
|
|
|
|
|
# "method" => "digest",
|
|
|
|
|
# "realm" => "download archiv",
|
|
|
|
|
# "require" => "group=www|user=jan|host=192.168.2.10"
|
|
|
|
|
# "require" => "valid-user"
|
|
|
|
|
# )
|
|
|
|
|
# )
|
|
|
|
|
|
|
|
|
|