?
Solved

Apache server and perl path on windows XP

Posted on 2008-11-01
1
Medium Priority
?
1,242 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 28

Accepted Solution

by:
FishMonger earned 200 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

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 …
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Suggested Courses

765 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