Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

This sounds stupid but, can I serve an image from a WinXP share

Status
Not open for further replies.

turnbui

Programmer
Jul 23, 2005
60
GB
Is it possible to tell Apache to serve a .jpg file from a Win-XP folder even though Apache is running on my Linux box? The Win-XP folder is on a shared drive and Samba is running so I can see the drive on my Linux box.

If it is technically possible how would the img src= be formatted.

Thanks for any help.
 
Sure. Just mount the Windows share under the Apache webroot, or have a symlink to where it's really mounted. Also, make sure the Apache user has permission to read the file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top