Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jul 2002 01:00:43 HST
From:      Gary Dunn <knowtree@aloha.com>
To:        smazerski@yahoo.co.jp, omsdiver4@poczta.onet.pl, freebsd-questions@FreeBSD.ORG
Subject:   Re: Apache - displaying images
Message-ID:  <20020722110043.5FAD0B377@vaiosr7k.ozland>
In-Reply-To: <200207211958.33640.smazerski@yahoo.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 21 Jul 2002 19:58:33 +0200, Steve Mazerski wrote:
> On Sunday 21 July 2002 19:17, OMS Diver wrote:
> > I have installed the Apache13+mod_ssl sucessfully and than copied the
> > directory icons from its original location into the new one where I wan=
t
> > all WWW files. I have downloaded the "Powered by FreeBSD" logo and save=
d it
> > into the icons directory. Right now I have main directory called
> > /home/data/www where index.html is placed and /home/data/www/icons wher=
e
> > some gif and png images are placed. I can easily display images that co=
me
> > originally with Apache but other images that are stored there are not
> > accessible. In other way the Konqueror displays the script <img
> > src=3Dicons/apache_pb.gif> but does not want display <img
> > src=3Dicons/fsbpb2.gif>.
> >
> > Do you have any clue where I should look for error.
> =

> What permissions do the new icons have? =

> =

> Can you load them directly from the filesystem, e.g. by entering
>   file:/home/data/www/icons/fsbpb2.gif
> in your browser?
> =

> BTW it's a better practice to quote filenames and other attributes in HTM=
L,
> e.g.
> <img src=3D"icons/fsbpb2.gif">
> =

> S.Mazerski

You might need a leading slash, depending on where in the file tree the htm=
l page is located. A good rule is if you are accessing files in the images =
folder, use the slash, regardless, because that makes your pages portable w=
ithin your site. =


Example: <img src=3D"/icons/fsbpb2.gif">

 --+---+---+--
Gary Dunn
Open Slate Project
http://www.aloha.com/~knowtree/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020722110043.5FAD0B377>