LSPHP & X-Sendfile

cmanns

Well-Known Member
#1
I have a site, in apache we simply add other code instead of fopen when we have mod_xsendfile and it lets PHP processes be free quicker.

Site is like photobucket/files so it's pointless to have php deliver and I don't use the php speed limiting features of the old script. Our new rewrite which will come out in a few years (joking) was totally written off the use of x-sendfile.

Then I discover for se curity litespeed forces it to be a real url.

This script saves the files in random directories like normal, however without filename and I disable php in that directory. It can reside under the www but currently its forbidden in the www.

Due to no filename it's required for PHP/MySQL to fetch the filename and download size.

How may I LiteSpeed X-Sendfile this? Large opensource downloads are getting popular and eating up my php :mad:
 

cmanns

Well-Known Member
#3
Top