
November 29th, 2001, 06:43 AM
|
|
Contributing User
|
|
Join Date: Jan 2001
Posts: 5
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
>> I'm trying to run Perl cgi scripts in my Apache-PHP-MySQL-Win2K environment
Perl is Perl, PHP is PHP and they are not the same.
Since this is Apache forum, I will only reply your Apache-related issues.
>> couldn't spawn child process
This has been asked any asked million times so please do a search globally using the exact search keyword: couldn't spawn child process.
>> if I go to "http://localhost/cgi-bin", I get the message "Forbidden"
That's a proper configuration. cgi-bin by default is not supposed to be browsable by visitors.
>> How should I configure Apache to use my Perl scripts
You need this line -> AddHandler cgi-script .cgi. In addition, the <Directory> or its parent directory where your CGI scripts reside needs to be Options ExecCGI. Should you place all your CGI scripts in a ScriptAlias'd cgi-bin, then the Options should be set to None, not ExecCGI.
|