a variation of the problem i'm facing has be mentioned before here (however without resolution):
http://www.linuxquestions.org/questi...ic+link+images
my setup involves a Centos 5 server and a Windows XP box with images
1. i mount the windows images directory e:\Pics on under /mnt/pics
2. on centos a vhost (
www.mysite.org) is setup with the root as /var/www/web3/web
3. i created a symbolic link as
Code:
ln -s /mnt/pics /var/www/web3/web/Pics
4. in the vhost configuration the apache directives are setup to follow symbolic links
Code:
<Directory /var/www/web3/web>
Options Indexes FollowSymLinks
</Directory>
at this point if i go to
Code:
http://www.mysite.org/Pics
i can see the listing just fine and can see the directory of JPG and GIF files. however when i click on one i just get a broken image. the http response also seems fine and is 200.
there are no permission issues because on the windows share i can access html and txt files just fine. for e.g.
Code:
http://www.mysite.org/Pics/letter.txt
the problem is with serving the images like
Code:
http://www.mysite.org/Pics/foo.gif
. it might also be a problem with other times of media files but i haven't tried.
does this look like a mime issue to anyone? or is it just the way the mount was done. the question is why would it serve up non-images fine but fail while returning images..