LSPHP & X-Sendfile

Discussion in 'Bug Reports' started by cmanns, Jul 20, 2011.

  1. cmanns

    cmanns Well-Known Member

    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:
  2. mistwang

    mistwang LiteSpeed Staff

  3. cmanns

    cmanns Well-Known Member

Share This Page