Solved

Apache server and perl path on windows XP

Posted on 2008-11-01
1
1,230 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
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

743 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

16 Experts available now in Live!

Get 1:1 Help Now