[102291] in RedHat Linux List
Re: Perl and
tag
daemon@ATHENA.MIT.EDU (Kevin W. Reed)
Wed Dec 2 11:35:13 1998
Date: Wed, 2 Dec 1998 09:33:14 -0700
From: "Kevin W. Reed" <soldo@telesys.tnet.com>
To: redhat-list@redhat.com
Mail-Followup-To: redhat-list@redhat.com
In-Reply-To: <Pine.LNX.3.96.981202230359.9510A-100000@network2.cs.usm.my>; from Ronnie Thum on Wed, Dec 02, 1998 at 11:06:47PM +0800
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Told to us by Ronnie Thum (cwthum@network2.cs.usm.my)
on Wed, Dec 02, 1998 at 11:06:47PM +0800
> I moved the images to /home/httpd/images/*.gif
> And my *.pl is at /home/httpd/cgi-bin/*.pl
> I call <IMG SRC=\"/images/pic.gif\"> in my perl script.
>
> I can't load the images...it is showing the default image icon...
Isn't the doc root for your server set to /home/httpd/htdocs ? If so,
you would need to have the images directory under that.
Remember that the cgi-bin directory is a redirected directory to keep
people out of it for normal access. Any referecene to cgi-bin will
be redirected by the server to /home/httpd/cgi-bin
Default access such as <IMG SRC="/images" ... would be at the root
of the document area specified by the server.
I've reconfigured our web servers so that they have the same paths on
all our servers so I don't recall exactly how the default was setup
on Redhat, but I believe it was /home/httpd/htdocs
>
> Pls help..............
>
>
> Rgds
> Ronnie
>
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com http://archive.redhat.com
> To unsubscribe: mail redhat-list-request@redhat.com with
> "unsubscribe" as the Subject.
>
--
----------------------------------------------------------------------
Kevin W. Reed - Voice 602-469-5106 TNET Services - MAILBOT.COM
Mesa, Arizona U.S.A. MAJORDOMO & Mailing List Account
mailto://soldo@tnet.com - http://www.tnet.com - http://www.mailbot.com
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.