httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Future Shock Business Solutions <futuresh...@shaw.ca>
Subject Re: [users@httpd] cgi-bin doesn't work in Apache 2.0.45
Date Fri, 11 Apr 2003 01:19:29 GMT
Did you check the shebang line as I suggested before?

--
Eric
Future Shock Business Solutions


----- Original Message -----
From: "Selmer Ausland" <sel.ausland@shawcable.com>
To: <users@httpd.apache.org>
Sent: Thursday, April 10, 2003 7:51 PM
Subject: Re: [users@httpd] cgi-bin doesn't work in Apache 2.0.45


>
>
> Joshua Slive wrote:
> >
> > On Thu, 10 Apr 2003, Selmer Ausland wrote:
> >
> > > Hello;
> > >     I need some help getting my Apache 2.0.45 cgi-bin working. I am
> > > running Win NT 4.0 and this is the problem:
> > >
> > > I have a file called first.pl in my Apache 2.0.45 cgi-bin
> > >
> > > #!/usr/bin/perl
> > > print "Content-type: text/html\n\n";
> > > print "Hello, World.";
> > >
> > > When I type in the url www.somedomain.com/cgi-bin/first.pl I get an
> > > Internal Server Error. In my error log I get the following:
> > >
> > > [Thu Apr 10 16:42:17 2003] [error] [client xx.xx.xxx.xxx] (OS 3)The
> > > system cannot find the path specified.  : couldn't spawn child
process:
> > > D:/Apache2/cgi-bin/first.pl
> >
> > This almost certainly means that apache can't execute perl.  Is perl
> > really located at /usr/bin/perl on the same drive as apache?  Seems
> > unlikely on a unix box.  Try putting in the correct full pathname to
perl.
> >
> > Joshua.
> >
> > ---------------------------------------------------------------------
>
> Hello Joshua;
>    Yes, perl is installed on the same D:/ drive (version 5.8.0.build
> 804). I wonder if I should uninstall it and try a different version???
>
> Can't figure out why it works with Xitami and not Apache 2.0.45???
>
> Selmer
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---
Outgoing mail is certified Virus Free,
and so I am according to the latest doctor's report!
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.470 / Virus Database: 268 - Release Date: 09/04/03


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message