I think I it has to do with apache configuration. I think apache does not allow any
references to any location other than html folder ( Why ! ? I do not know) . I can see
the path translated for any of the scripts show as if they were in html folder even
though I assign them a relative path, which points to some other location with in my
server.
Even perl does not get executed. When I reference a pl file ( first line maps to perl
interpreter) I get it displayed as if it was txt file.
-----Original Message-----
From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Sent: 20 March, 1998 10:56 Õ
To: '[EMAIL PROTECTED]'
Subject: RE: Running Perl program
I experience same problem. I applied all comments from List but still I get "The
requested URL /home/httpd/cgi-bin/counter.pl was not found on this server."
Here I have a Win95box browsing a page on another Linux box. I chmod counter.pl to
777. One thing is interesting it worked when ran over the linux box !!!.
Something ambiguous in the middle somewhere , maybe someone has a hint on it.
Saleh
-----Original Message-----
From: Kevin W. Reed [SMTP:[EMAIL PROTECTED]]
Sent: 19 March, 1998 09:35 ã
To: [EMAIL PROTECTED]
Subject: Re: Running Perl program
Told to us by Remy FAURES ([EMAIL PROTECTED])
on Thu, Mar 19, 1998 at 11:42:41AM -0500
> Hi,
>
> I experience a problem running a Perl program on a Linux 4.2 system.
>
> Perl ver 5.003 with Embed is installed on my system, and the which perl
> command produce the following output : /usr/bin/perl
>
> A perl program is located in my /home directory, and when I try to run it
> (entering either prog1.pl or ./prog1.pl), I receive the following message :
> bash: ./prog1.pl: No such file or directory
>
> the env command produces the following output :
[environment listing snip'd]
If you check the first line of your prog1.pl file, you will most likely
find that the reference to where the perl executable is located is
wrong.
#!/usr/local/bin/perl
#!/usr/bin/perl
Whatever... it needs to be a valid reference. Otherwise you will get
the error message you are talking about...
--
==========================================================================
Kevin W. Reed (KWR10) TNET Service - Disability Systems and
E-Mail: [EMAIL PROTECTED] Software Development
WEB: http://www.tnet.com MAJORDOMO - MAILBOT Administration Account
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.
application/ms-tnef