cgi-bin scripts not running

 
Post new topic   Reply to topic    Aprelium Forum Index -> Perl
View previous topic :: View next topic  
Author Message
brett
-


Joined: 08 Jul 2006
Posts: 1
Location: Minneapolis, MN

PostPosted: Sat Jul 08, 2006 11:30 pm    Post subject: cgi-bin scripts not running Reply with quote

After checking and re-checking the forums, help files, and Web, I think I need to finally ask for direction.

I'm trying to run a simple hello.cgi, and I keep encountering the same error.

My cgi log indicates:
Child process creation failed - OS error 267 (appears as 500 error in the IE browser)

I've checked my:
environment path: C:\Perl\Bin\perl.exe
CGI/ISAPI interpreter: C:\Perl\Bin\perl.exe (also associated with pl and cgi)
abyss.conf file: execgipaths is set to /cgi-bin

scripts are enabled, index files are set to index.pl and index.cgi

I've even deselected the "Resolve interpreter using the #! Line"

Here's my code (I've tried about 10 variations on this theme from diff sites):
==================
#!C:\perl\bin\perl.exe
# previous line added to support Apache 1/2
# please adjust to your own Perl path!
use strict;
use CGI;

my $page = new CGI;
my $msg = "Hello from ActivePerl CGI!";

# print header and start the markup output
print $page->header( "text/html" ),$page->start_html( $msg );
print $page->h2($msg);
print $page->end_html;
# end code
===================

If I move the cgi file into my htdocs directory, it renders correctly. http://localhost/hello.cgi, but as soon as I put it in the cgi-bin folder it's nto accessible and I get the error e.g. http://localhost/cgi-bin/hello.cgi

Is this a Windows XP Pro problem? An Abyss WS setup issue? I'm stumped.

Any help is appreciated.

Thanks
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun Jul 09, 2006 2:10 pm    Post subject: Re: cgi-bin scripts not running Reply with quote

brett,

Please send your abyss.conf file to support@aprelium.com . Do not forget to add a reference to this forum message.

After that we suggest that you remove /cgi-bin from the Script Paths. Abyss Web Server will rely on the file name extension to know what interpreter to launch.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Perl All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group