How to use X-Sendfile or X-Accel-Redirect in LiteSpeed 4.1.13
Dear Staff,
I've installed LSW 4.1.13 but i have a question is: How to use X-Sendfile or X-Accel-Redirect?
I've read your wiki at http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed:wiki:feature:internal_redirect, and i try with code:
But download file is empty.
EX: My domain is: http://xinh.im, and direct download org file is http://xinh.im/HOT_GAME.jar , php file X-Sendfile is: http://xinh.im/t.php, when i download with http://xinh.im/t.php it response file is empty.
Please help me,
Dear Staff,
I've installed LSW 4.1.13 but i have a question is: How to use X-Sendfile or X-Accel-Redirect?
I've read your wiki at http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed:wiki:feature:internal_redirect, and i try with code:
PHP:
<?
header("Content-type: application/java-archive");
header("X-Sendfile: HOT_GAME.jar");
?>
EX: My domain is: http://xinh.im, and direct download org file is http://xinh.im/HOT_GAME.jar , php file X-Sendfile is: http://xinh.im/t.php, when i download with http://xinh.im/t.php it response file is empty.
Please help me,
Last edited: