On 2/1/24 8:25 AM, Adam Weremczuk wrote:
Hi Sherrard,

My index.html is super simple:
<snip>

sorry if i wasn't clear. i was asking if you had the version with the absolute path posted on your site. no matter, see the below.

After I replace:

img src="ms-logo.png"

with

img src="/var/www/html/holding/ms-logo.png"   (valid path)

the image doesn't even show on the home page.

that is not the correct form of the absolute URL. absolute URLs are based at your DocumentRoot. so since your DocumentRoot is

DocumentRoot /var/www/html/holding

the correct absolute URL would be "/ms-logo.png"", and the resulting img tag would be

<img src="/ms-logo.png">

HTH

best,
Sherrard

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to