File is corrupt using CIFS mount and Apache


I have an Apache server that has to mount to a Windows 2003 file server.

I mounted the drive as normal, and could open files using Linux. The issue arose when trying to open

the file when servered through Apache.

After much research the answer is to modify the httpd.conf file

File this line EnabledSendfile and change it to

EnabledSendfile: off

I just had to take the # from this line, restart Apache and it should all be working

 

OS – Fedora release 10 (Cambridge)

Web server – httpd-2.2.14-1.fc10.i386

 

Hope this helps

Advertisements


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s