disable range-requests for acrobat and add 2 new mimetypes

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@495 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/heads/lighttpd-1.3.x
Jan Kneschke 18 years ago
parent 99c3f027ce
commit f2cd60aab8

@ -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"
# )
# )

Loading…
Cancel
Save