Click here to Skip to main content
15,879,474 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all
I am having ubuntu 12.04 server installed as webserver and windows server 2008 installed as data server.
both server connect fine through smb.
Problem is when i call images from windows server in website. images does not appears in browser. while the both the servers are synchronized and shows the files and folders.

any solution on this asap will be appreciated.
Posted
Comments
phil.o 7-Nov-13 8:48am    
You did not show any relevant code fragment. Are we supposed to guess the problem?
Please show us some relevant code (i.e. where you 'call images from windows server in website').
Member 9377677 7-Nov-13 8:52am    
sorry !
<img src= "smb://serverpath/drivepath/folder/file.jpg />
phil.o 7-Nov-13 8:58am    
Please improve your question, putting relevant informations in there.
Member 9377677 7-Nov-13 9:00am    
philo thanks for reply
but this is the exact problem
Member 9377677 7-Nov-13 9:01am    
I am trying to insert images from windows folders to website hosted on Ubuntu server

1 solution

Samba is not a valid Web protocol. You can solve this problem is you install and run some HTTP server on the other site. It does not have to be exposed to outside Internet or even have a domain name (you can use IP-based URLs), but it will give you opportunity to hotlink those files in a "real" Web site. For this server, I would recommend to use Apache.

—SA
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900