We use Linux guest on WMware as development web server.
Files are stored in a windows share. This share in mounted inside DocumentRoot of apache web server.
Today i have to reinstall web server as it created some disk issue after a HDD fail.
After reinstall, static files (css, images, videos) when accessed, serve a blank file. If we save the file, we get a file of 0 byte size.
This is fixed by setting
EnableSendfile off
in /etc/httpd/conf/httpd.conf file.
3 Responses to Apache serve blank page for static files in cifs mount