Re: Index.html not working as expected

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

 



u need to refer with respect to root folder not the complete address eg write <img src = "">



On Mon, Feb 24, 2014 at 2:49 AM, Joseph Darman <joseph.darman@xxxxxxxxx> wrote:
I have the following in the Index.html

<img style=position:absolute;left:300px;top:160px;border="0"
src="" alt="USA Map" width="400" height="400"
usemap="">

When I run Apache as LoaclHost, it can't find the USA.jpg.

I get this in the error log:

[Sun Feb 23 16:00:56 2014] [error] [client 127.0.0.1] (20023)The given path was above the root path: Cannot map GET ///C:/Server/Apache2/htdocs/MAPS/USA.jpg HTTP/1.1 to file, referer: http://localhost/

ps If I just double click on Index.html, everything works fine.



--
Rahul Bhola
B.E.
computers
Core Member
Department of backstage
Bits Pilani KK Birla Goa Campus

[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