You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
handle X-Sendfile and X-LIGHTTPD-send-file w/ http_response_xsendfile() if host is configured ( "x-sendfile" = "enable" ) Note: X-Sendfile path is url-decoded for consistency, like X-Sendfile2 (response headers should be url-encoded to avoid tripping over chars allowed in filesystem but which might change response header parsing semantics) Note: deprecated: "allow-x-send-file"; use "x-sendfile" Note: deprecated: X-LIGHTTPD-send-file header; use X-Sendfile header Note: deprecated: X-Sendfile2 header; use X-Sendfile header For now, X-Sendfile2 is still handled internally by mod_fastcgi. Since http_response_send_file() supports HTTP Range requests, X-Sendfile2 is effectively obsolete. However, any code, e.g. PHP, currently using X-Sendfile2 is probably manually generating 206 Partial Content status and Range response headers. A future version of lighttpd might *remove* X-Sendfile2. Existing code should be converted to use X-Sendfile, which is easily done by removing all the special logic around using X-Sendfile2, since the 206 Partial Content status and Range response headers are handled in http_response_send_file(). x-ref: "mod_fastcgi + X-Sendfile -> mod_staticfile" https://redmine.lighttpd.net/issues/799 "Feature Request: New option "x-send-file-docroot"" https://redmine.lighttpd.net/issues/851 "X-Sendfile handoff to mod-static-file in 1.4.x" https://redmine.lighttpd.net/issues/2017 "X-sendfile should be able to set content-type" https://redmine.lighttpd.net/issues/2076 |
7 years ago | |
---|---|---|
.. | ||
Makefile.am | 12 years ago | |
access.txt | 12 years ago | |
accesslog.txt | 12 years ago | |
alias.txt | 12 years ago | |
authentication.txt | 12 years ago | |
cgi.txt | 12 years ago | |
cml.txt | 12 years ago | |
compress.txt | 12 years ago | |
configuration.txt | 12 years ago | |
dirlisting.txt | 12 years ago | |
evhost.txt | 12 years ago | |
expire.txt | 12 years ago | |
extforward.txt | 12 years ago | |
fastcgi-state.dot | 12 years ago | |
fastcgi-state.txt | 12 years ago | |
fastcgi.txt | 7 years ago | |
features.txt | 12 years ago | |
magnet.txt | 12 years ago | |
mysqlvhost.txt | 12 years ago | |
performance.txt | 12 years ago | |
plugins.txt | 12 years ago | |
proxy.txt | 12 years ago | |
redirect.txt | 12 years ago | |
rewrite.txt | 12 years ago | |
rrdtool.txt | 12 years ago | |
scgi.txt | 12 years ago | |
secdownload.txt | 7 years ago | |
security.txt | 12 years ago | |
setenv.txt | 12 years ago | |
simple-vhost.txt | 12 years ago | |
skeleton.txt | 12 years ago | |
ssi.txt | 12 years ago | |
ssl.txt | 12 years ago | |
state.dot | 12 years ago | |
state.txt | 12 years ago | |
status.txt | 12 years ago | |
traffic-shaping.txt | 12 years ago | |
trigger_b4_dl.txt | 12 years ago | |
userdir.txt | 12 years ago | |
webdav.txt | 12 years ago |