
02-15-2010, 09:29 AM
|
|
Member
|
|
Join Date: Nov 2006
Posts: 13
|
|
Quote:
Originally Posted by NiteWave
php stream files is not efficient.
if you can make use of litespeed's "Internal Redirect"( http://www.litespeedtech.com/support...ernal_redirect) feature in the script, will improve a lot. faster and use less resource(mem/cpu/process). And, the issue you reported may be gone.
this is not a direct reply to your issue, rather 's a comment. FYI.
|
Thanks, didn't know litespeed had this feature. I'll mod the script and see if litespeed prefers that.
EDIT:
Ok tried it out, since I'm using PHP I have to use
Code:
$header="X-LiteSpeed-Location: /".$link;
header($header);
However, this does not work, it doesn't even return an error. Did this feature make it into the Litespeed PHP5 binary build?
I checked against a normal "Location :/".$link header and that worked just fine, however, it's doing a normal redirect in this case because I have a rewrite condition on the link which gives a 403 error and that is triggered. Could someone on Litespeed verify if this special header is in the PHP5 binary build for Litespeed? I built this using my Cpanel/Apache config and everything else works fine.
Last edited by chernann; 02-15-2010 at 10:15 AM..
|