I have a website hosted in LAMP Server. My Lamp server is installed in a Debian virtual machine. My virtual machine is hosted in a distant server.
I face a problem when i try to display an image in my website from the distant server. this is an example of the code i am using :
src="\\NameOfDistantServer\Directory\MyImage.jpg"
When i try this code, nothing is displyed.
I need your help.
Thank you
The only way i found to resolve my problem was to do mount command :
mout -t cifs /serverDistant/directoryToshare /directory username pwd
After this command i can display all the image like if it was on local directory. Thank you all for your suggestions, i really appreciate your help.