my local tests shows
PHP Code:
<?php
header("X-LiteSpeed-Location: /HOT_GAME.jar");
?>
works. will prompt you to down t.php
accessing domain.com/t.php is same to access domain.com/HOT_GAME.jar directly.
my tests also shows
header("Content-type: application/java-archive");
will be ignored. however, since the built-in MIME is "application/java-archive", so it does have a MIME type.
you can simply test it with
"curl -I domain.com/t.php" on a linux terminal.
Last edited by NiteWave; 10-22-2012 at 04:30 AM..
|