xsendfile

mistwang

LiteSpeed Staff
#4
In you script, just send back response header "X-LiteSpeed-Location: <URL_of_static_file_to_send_to_client>" instead of stream the that file.
 
#5
The link does not work. And the feature is nothing like xsendfile, it's a mere HTTP redirect, to an already accessible URL. Litespeed thinks it increases safety with the implementation, but it actually restricts flexibility and looses useful functionality. Server-side scripts are used to protect or provide access to private files. How are they supposed to work, if this function only works with public files?
 
Top