Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 29th, 2001, 02:47 AM
markvondenhoff markvondenhoff is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Posts: 1 markvondenhoff User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
how to use perl with apache-php-mysql-win2K?

Hi,

I'm trying to run Perl cgi scripts in my Apache-PHP-MySQL-Win2K environment, but when I get the message "couldn't spawn child process". Also, if I go to "http://localhost/cgi-bin", I get the message "Forbidden". How should I configure Apache to use my Perl scripts and how can I connect MySQL to my Perl scripts?

Cheers,

Mark.

Reply With Quote
  #2  
Old November 29th, 2001, 06:43 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > how to use perl with apache-php-mysql-win2K?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT