From owner-freebsd-questions Sun Dec 9 8: 3:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.thebiz.net (mx1.thebiz.net [216.238.0.20]) by hub.freebsd.org (Postfix) with SMTP id 6E31737B405 for ; Sun, 9 Dec 2001 08:03:32 -0800 (PST) Received: (qmail 4987 invoked from network); 9 Dec 2001 11:03:30 -0500 Received: from unknown (172.16.0.72) by 172.16.0.178 with QMQP; 9 Dec 2001 11:03:30 -0500 Received: from unknown (HELO marty.face2interface.com) (216.238.72.249) by mail.ulster.net with SMTP; 9 Dec 2001 11:03:31 -0500 Message-Id: <5.1.0.14.0.20011209110026.00a34b40@pop.ulster.net> X-Sender: marty@pop.ulster.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sun, 09 Dec 2001 11:03:39 -0500 To: Wayne Pascoe From: Marty Landman Subject: Re: question not asked (sysadmin - Perl?) Cc: questions@FreeBSD.ORG In-Reply-To: <86ofl8ifzz.fsf@pan.home.penguinpowered.org.uk> References: <5.1.0.14.0.20011209100829.00a7bec0@pop.ulster.net> <5.1.0.14.0.20011209100829.00a7bec0@pop.ulster.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 At 03:13 PM 12/9/01 +0000, Wayne Pascoe wrote: >Marty Landman writes: > > > I've got the following program > > > > #!/usr/local/bin/perl > > > > print "Content-type: text/html\n\n"; > > use Cwd; > > for($root = cwd()) {print "Root eq $root"} > > > > __END__ > > > >Firstly, whenever a web script doesn't work like you expect it to, >check the ErrorLog for the virtualhost that you are running the script >in. This will normally give you some indication of what the problem >is. Nuthin' there Wayne. The fact that it runs from the command line but not from a web browser makes me wonder though if it's an Apache config issue; only I don't know where I'd look or even if it's in my control. Marty Website Creation Made SIMPL(tm) http://face2interface.com/Home/Demo.shtml WebSafe Color Picker -- http://face2interface.com/Websafe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message