Continued problems with mount_smbfs

So mounted some samba directories and seemed to work fine. One of these was the root for a virtual host on my apache server and I got some really wierd problems. The HTML code seemed to load fine but not images and css….

Apparently: “When trying to serve a directory mounted with mount_smbfs on FreeBSD with the Apache 2.0.x server, large files (over 100K or so) won’t transfer correctly. To fix this problem use the EnableSendfile off directive within your Global, Directory or VirtualHost config.” So adding that directive solved everything.

Found that at unixtips.org – the source for unix tips.

Leave a Reply

Your email address will not be published. Required fields are marked *