Windows share mounted then symlinked on LAMP server. Serves up html, but not images.
- by Samuurai
This has really got me befuddled...
I've mounted a share, like this:
//srv1/UserUploads /mount/UserUploads cifs rw,user,exec,uid=wwwrun,gid=www,username=shareuser,password=sharepw 0 0
I then have a symlink here:
WEBSVR:/Web/htdocs/public_html # ls -l useruploads
lrwxrwxrwx 1 wwwrun www 18 Dec 7 09:18 useruploads -> /mount/UserUploads
Oddly, if I ls inside the mounted area, items appear with a capital S
-rwxrwSrwx 1 wwwrun www 4077 Dec 30 14:54 prop9.jpg
-rwxrwSrwx 1 wwwrun www 4 Jan 12 15:57 test.html
And if I bring up test.html in a browser, it works fine, but if I go to prop9.jpg, chrome gives me this error:
This web page is not available.
The web page at http://10.1.64.100/useruploads/webteam/help2let/prop6-1.jpg might be temporarily down or it may have moved permanently to a new web address.
More information on this error
Below is the original error message
Error 100 (net::ERR_CONNECTION_CLOSED): Unknown error.
Has anyone seen this behaviour where the binary files (images) arent displayed, but html/text is?