diff options
author | jan <jan@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2005-07-31 13:17:52 +0000 |
---|---|---|
committer | jan <jan@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2005-07-31 13:17:52 +0000 |
commit | 6e559c16c4cd04e4dbc05ce998b522c1eb1aa921 (patch) | |
tree | 0d2826f59a7e6d8fe8376dc6c70b1620fbe73e88 | |
parent | a41f9a3c7dc4e31132b6b5887e0f4100bc5b7821 (diff) | |
download | lighttpd-6e559c16c4cd04e4dbc05ce998b522c1eb1aa921.tar.gz |
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
-rw-r--r-- | doc/lighttpd.conf | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/lighttpd.conf b/doc/lighttpd.conf index 5c41bed5..f2898cac 100644 --- a/doc/lighttpd.conf +++ b/doc/lighttpd.conf @@ -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" # ) # ) |