Solved

Apache server and perl path on windows XP

Posted on 2008-11-01
1
1,232 Views
Last Modified: 2008-11-02
I am trying to execute cimple perl script on mmy local Apache but I am getting the foloving msg in Apache error_log file: [Sun Nov 02 01:26:05 2008] [error] [client 127.0.0.4] (OS 3)The system cannot find the path specified.  : couldn't create child process: 720003: first.pl
[Sun Nov 02 01:26:05 2008] [error] [client 127.0.0.4] (OS 3)The system cannot find the path specified.  : couldn't spawn child process: C:/Program Files/Apache Group/Apache2/cgi-bin/first.pl
I am attaching httpd.config file
0
Comment
Question by:mirmil49
1 Comment
 
LVL 28

Accepted Solution

by:
FishMonger earned 50 total points
ID: 22860045
You either need to set the correct path to the perl interpreter on the shebang line in your scripts or add the ScriptInterpreterSource directive to the httpd.conf file.  The directive could be set globally or put in a Directory block.

<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin">
    ScriptInterpreterSource Registry
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now