View Single Post
  #1  
Old 10-21-2012, 08:56 PM
b0ngma01 b0ngma01 is offline
New Member
 
Join Date: Oct 2012
Posts: 9
Unhappy 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...ernal_redirect, and i try with code:
PHP Code:
<?
header
("Content-type: application/java-archive");
header("X-Sendfile: HOT_GAME.jar");
?>
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,

Last edited by b0ngma01; 10-21-2012 at 09:29 PM..
Reply With Quote