From owner-freebsd-questions Mon Jul 22 4: 1:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66D8837B400 for ; Mon, 22 Jul 2002 04:01:23 -0700 (PDT) Received: from koa.aloha.com (koa.aloha.com [206.127.224.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED62343E65 for ; Mon, 22 Jul 2002 04:01:22 -0700 (PDT) (envelope-from knowtree@aloha.com) Received: from vaiosr7k.ozland (atm-251-63.pixi.com [206.127.251.63]) by koa.aloha.com (8.12.2/8.12.2) with ESMTP id g6MAt6Hn023926; Mon, 22 Jul 2002 00:55:07 -1000 (HST) Received: by vaiosr7k.ozland (Postfix, from userid 501) id 5FAD0B377; Mon, 22 Jul 2002 01:00:43 -1000 (HST) To: smazerski@yahoo.co.jp, omsdiver4@poczta.onet.pl, freebsd-questions@FreeBSD.ORG From: Gary Dunn Reply-To: knowtree@aloha.com Subject: Re: Apache - displaying images X-Mailer: Pygmy (v0.5.13) Date: Mon, 22 Jul 2002 01:00:43 HST In-Reply-To: <200207211958.33640.smazerski@yahoo.co.jp> Content-type: text/plain Content-Transfer-Encoding: quoted-printable Message-Id: <20020722110043.5FAD0B377@vaiosr7k.ozland> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 > src=3Dicons/apache_pb.gif> but does not want display > 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. > > = > 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: --+---+---+-- 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