Internal Redirect via LiteSpeed - X-LiteSpeed-Location Not Work

B

b0ngma01

Guest
#1
I use this for download file
PHP:
header('Content-type: ' . get_mime_type($ext));
    header('Content-Disposition: attachment; filename="' . basename($file_name) . '"');
    header("Content-Length: " . $file_size);
    header("X-LiteSpeed-Location: " . $real_path);
But alway download 0Kb, i think X-LiteSpeed-Location not work
 
#4
Sorry for replying late.
"In the future, if you encounter something that is obviously a bug, the Google Group or GitHub are probably the best places for you to let the developers know."
 
Top