Re: missing image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux