From owner-freebsd-isp Sat Jun 27 10:57:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA08338 for freebsd-isp-outgoing; Sat, 27 Jun 1998 10:57:37 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from x10.boston.juno.com (x10.boston.juno.com [205.231.101.25]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA08325 for ; Sat, 27 Jun 1998 10:57:33 -0700 (PDT) (envelope-from egravel@juno.com) Received: (from egravel@juno.com) by x10.boston.juno.com (queuemail) id DGR3P7HM; Sat, 27 Jun 1998 13:54:12 EDT To: reich@internetcds.com Cc: isp@FreeBSD.ORG, manar@ivision.co.uk Date: Sat, 27 Jun 1998 10:54:55 -0700 Subject: Re: Setting up Apache Message-ID: <19980627.105659.3822.0.egravel@juno.com> References: X-Mailer: Juno 1.49 X-Juno-Line-Breaks: 0-3,7,10-11,13-15,17-18,20,22,24-28,30-49 From: egravel@juno.com (Emmanuel Gravel) Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thanks for your help. As per Manar's EMail, I also checked the error_log file. This one gave me more info, which I tried to correct, without success. These are the lines which indicated the trouble: Can't locate VBS.pl in @INC (@INC contains: ../../lib /usr/lib/perl5/i386-linux/5.00401 /usr/lib/perl5 /usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl) at /home/httpd/cgi-bin/vbs/bin/admin/config.cgi line 26. [Thu Jun 25 19:17:49 1998] access to /home/httpd/cgi-bin/vbs/bin/admin/config.cgi failed for 127.0.0.1, reason: Premature end of script headers The above is written in two lines. This was the message I was recieving before changes. The only difference after the changes is this: Can't locate VBS.pl in @INC (@INC contains: /home/httpd/cgi-bin/vbs/lib [rest cut] I've checked, and the file is there... Any ideas why the server can't find the file? The server has access to all the dirs in there, so I wouldn't see why it can't find it... But it seems capable of running CGI scripts nonetheless. Perl is in the proper place, also. Thanks for your help! On Sat, 27 Jun 1998 00:37:28 -0700 (PDT) Mahlon Smith writes: >Do a >'whereis perl' >on your system - make sure that the first line in your perl script >matches it. > >i.e. >#!/usr/bin/perl -w > >Another good thing to check is the perl script fromt he command >line... >it may be gibberish - or, it may give you a better clue as to what is >happening. > >> The problem is when I try and access any CGI script, no matter where >> they are. Before, I was getting an "access forbidden" error (fixed >> by changing the properties of the files >> and directories). The new error now is Error 500 Internal Server >> Error (talking about >> notifying the administrator about a problem in the configuration). _____________________________________________________________________ You don't need to buy Internet access to use free Internet e-mail. Get completely free e-mail from Juno at http://www.juno.com Or call Juno at (800) 654-JUNO [654-5866] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message