LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > LSWS 4.1 Release > LSPHP & X-Sendfile

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-20-2011, 12:37 PM
cmanns cmanns is offline
Senior Member
 
Join Date: Jun 2010
Posts: 100
Default LSPHP & X-Sendfile

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
__________________
-William C.Manns Owner of XenServ Co
Need LiteSpeed Hosting, Server Tuning, or Other Help I'm your guy

http://xenserv.com http://evilpuma.com
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:13 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.