View Single Post
  #4  
Old 10-22-2012, 02:50 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,291
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..
Reply With Quote