Re: [Question] OS X 10.4

[prev] [thread] [next] [Date index for 2005/06/04]

From: Stas Bekman
Subject: Re: [Question] OS X 10.4
Date: 11:34 on 04 Jun 2005
Anonymous Lion wrote:
> Newbie
> 
> I'm trying to set up the existing Apache 1.3 on my OS X 10.4 to run
> perl scripts. I believe I have made all of the necessary httpd.conf
> changes. When I try to run a perl script from the command line, all
> goes well. But when I try to run it from my relocated CGI-Executables
> folder/directory (http://localhost/CGI-Executables/first.cgi) I get
> three Internal Server Errors.
> 
> -----------------------------------------------
> Script (name is first.cgi)
> #!/usr/bin/perl/ -w
> print "Content-type: text/html\n\n";
> print "<h2>Hello, World!</h2>\n";
> -----------------------------------------------
> 
> ------------------------------------------------------------
> error_log entries (without date-time stamps)
> (20)Not a directory: exec of /Sites/CGI-Exec$
> [client 127.0.0.1] Premature end of script h$
> [client 127.0.0.1] File does not exist: /Sit$
> ------------------------------------------------------------
> 
> Any assistance on where to look for solutions to this would be
> appreciated. I have been able to find quite a few instances of
> "Premature end of script" in archived discussions, but none of the
> solutions I have found appear to make a difference. I have not been
> able to find anything on "Not a directory" or "File does not exist".

Most likely your config file is broken. Please refer to:
http://perl.apache.org/docs/2.0/user/intro/start_fast.html#Registry_Scripts
Pay close attention to the httpd.conf bits.


        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

[Question] OS X 10.4
Anonymous Lion 06:22 on 04 Jun 2005

Re: [Question] OS X 10.4
Stas Bekman 11:34 on 04 Jun 2005

Re: [Question] OS X 10.4
Perrin Harkins 20:04 on 04 Jun 2005

Re: [Question] OS X 10.4
Anonymous Lion 21:45 on 04 Jun 2005

Re: [Question] OS X 10.4
Jonathan Tweed 12:26 on 05 Jun 2005

Re: [Question] OS X 10.4
Perrin Harkins 19:02 on 05 Jun 2005

Generated at 20:12 on 05 Jun 2005 by mariachi v0.52