RE: problem serving large files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yeah, I do have SELinux enabled and thought about that.  I think using sudo to open the file as ‘apache’ would have tested for that – can read the file that way.

 

I’ll try disabling it just to be 100% sure, but I don’t think that’s it.

 

-John

 

From: Wilda, Jet [mailto:Jet.Wilda@xxxxxxxxxxxxxxxxxxx]
Sent: Thursday, September 11, 2008 11:24 AM
To: users@xxxxxxxxxxxxxxxx; johnlacour@xxxxxxxxx
Subject: RE: problem serving large files

 

Could it be that you have SELinux enabled and it is messing with you?

 

~Jet

 


From: John LaCour [mailto:johnlacour@xxxxxxxxx]
Sent: Thursday, September 11, 2008 10:03 AM
To: users@xxxxxxxxxxxxxxxx
Subject: problem serving large files

 

I’d like to make some very large files available for HTTP download from my Apache v2.2.3 server on RHEL5, but it’s not working.

 

I get the following error message:

[error] [client 10.1.1.1] (13)Permission denied: access to /Very_Large_File.rar denied

 

 

It would appear to be a file permission problem, but the directory paths to the document root are all 755 or better:

 

/

/var

/var/www/

/var/www/html

 

and the permissions on the file itself I’ve set to 777 for testing purposes.

 

The same client can download small .rar files from the same directory with the same file permissions.   The only difference that I can discern is that the file is smaller in size.

 

I’ve further tested access to the file with “sudo –u apache cat Very_Large_file.rar” which can open the file fine.   So I’ve pretty much ruled out permissions issues.

 

 

I’ve also enabled ‘debug’ LogLevel but there’s nothing generated that is helpful.

 

I don’t see anything in my .conf files that enforce any file sizes.    I didn’t even see such an option in the document, there appears to be configuration options only for limiting the size of the HTTP request *sent* by the client.

 

Any insight into what’s happen would be appreciated!

 

Thanks,

John

 

 

----------
Learn more about Chase Paymentech Solutions,LLC payment processing services at www.chasepaymentech.com.
 
THIS MESSAGE IS CONFIDENTIAL.  This e-mail message and any attachments are proprietary and confidential information intended only for the use of the recipient(s) named above.  If you are not the intended recipient, you may not print, distribute, or copy this message or any attachments.  If you have received this communication in error, please notify the sender by return e-mail and delete this message and any attachments from your computer.
 

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux