I was trying to serve some pages and files off of a windows samba share but was only getting a blank page. After some googling around I found the solution.

Simply put “EnableSendfile Off” in your httpd.conf file and restart Apache.

2 comments to “Apache and DocumentRoot on a CIFS/SAMBA Share”

  1. ksanders says:

    You’re very welcome, glad it was helpful! I went around in circles with that for far longer than I should have, hope we saved you some time.

  2. Laurens says:

    Thank you very much! I was migrating a working server, so I was only looking at the cifs rights. This option enabled works brilliant!

Leave a Comment

CommentLuv Enabled

Anti-Spam Protection by WP-SpamFree