Hello guys, i have a little problem.
I have set up a web server in a linux box [192.168.1.10]. The running web site uses images from a FileServer in other linux box [192.168.1.20].
So I cifs mounted a folder in the WebServer referring to the fileserver shared folder.
Mount command:
Code:
mount.cifs //192.168.1.20/share_images_folder$ /var/www/html/app1/images -o user=user,pass=1234567,rw,nolock
Samba Configuration:
Code:
[share_images_folder$]
comment = Test
path = /usr/data/samba/shared_images
guest ok = yes
browseable = yes
writeable = yes
create mask = 777
directory mask = 777
follow symlinks = yes
It looks pretty fine. They can be seen by terminal console. But if I try to see them with the web application, they don't display.
If I go to:
Code:
http: //192.168.1.10/app1/images/x.jpg
It does not display. It shows a failed imagen icon with the X.
I've been looking for this solution for weeks. I not sure if it is related with any Samba or Apache Configuration.
Thank you for your time!
GSound