WAMP website accessing images on a local disk - not under the webroot
Posted by: timecott01 (---.plus.com)
Date: October 15, 2023 01:09PM

I am wondering if i need to change/add lines in the httpd.conf? I am trying to get a WAMP website to show images. These images are on a local disk drive. If I open one of these images just using a browser the image displays OK. If I open the same image in a WAMP website the image does not display. Hence I think I need to alter somewhing in the WAMP configuration? Previous websites under WAMP have not used a local disk.
Any help would be welcome thank you.
WAMPserver, Windows, Apache 2.4.41, PHP 7.4
The disk is a LOCAL disk, not a network drive or share.

Options: ReplyQuote
Re: WAMP website accessing images on a local disk - not under the webroot
Posted by: Otomatic (Moderator)
Date: October 15, 2023 01:36PM

See alias <- this is a link

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.