Solved

Apache server and perl path on windows XP

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
HP PC Hardware Diagnostics UEFI 11 180
Stream live video from Raspberry Pi camera 22 264
Redirect 301 from one address  to another 5 47
.htaccess css/images no longer loading 4 74
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…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
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…

730 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