Solved

Apache server and perl path on windows XP

Posted on 2008-11-01
1
1,237 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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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…

856 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