Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can some please anwser my question!?!?!

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
im running apache on windows 98. every time i run cgi scripts the error is always "Cannot spawn child process". can anyone tell me what that is, and how to succesfully run my scripts?
 
are you running mod_perl and excuting cgi scripts to both mod_cgi module and mod_perl?

if so then read on.
mod_cgi and mod_perl are both modules that can be compiled into Apache. Because mod_cgi is distributed with Apache and the default configuration includes it, it is easy to think of mod_cgi as being an integral part of the server.

Whether a particular request is handled by mod_cgi or by mod_perl or by neither is controlled by directives in the *.conf files (httpd.conf, access.conf, srm.conf). Roughly speaking, "ScriptAlias" triggers mod_cgi, and "SetHandler perl-script" triggers mod_perl.

The error message you are getting is coming from mod_cgi, so your *.conf files must be directing the URL to be handled by mod_cgi (that is, as a conventional CGI script).
Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top