File is corrupt using CIFS mount and ApachePosted: May 31, 2011
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
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