Images not displaying from a Virtualbox mounted Share

Seems the solution applies to shares mounted via samba as well. The problem started when I wanted to have a directory mirror one from my production server and make it accessible to both a Virtualbox VM and a VMWare based VM.

Mounting it was easy enough under a Virtualbox VM runningCentOS under XP. The problem started once I linked to that mounted directory from my site's DocRoot.

At first I thought it was because I didn't have FollowSymLinks allowed, but even though the proper size was sent to the browser no image would be displayed.

Quick google turned up the idea of using the following:

EnableSendfile off
EnableMMap off

Seems to work just fine at the moment. It's not a production box so I'm not concerned with any performance hits this might cause.

February 9th, 2009

Leave a Reply

design by gorotron ported by railsgrunt powered by mephisto