looking for other solutions of "couldnīt spawn child prozess"

This is a discussion on looking for other solutions of "couldnīt spawn child prozess" within the Windows Web Servers forums, part of the Web Server and Related Forums category; As there are so many articles about the problems with cgi-scripts cause of the first line in that scripts, ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-28-2003
Oliver
 
Posts: n/a
Default looking for other solutions of "couldnīt spawn child prozess"

As there are so many articles about the problems with cgi-scripts
cause of the first line in that scripts, which I fixed.

I`m looking for an other solution for that problem.

Question !

Is there any way to fix the problem maybe with http.conf in apache
with an alias or so ?

So that there is no need to change every first line of every
script I have - into the real windows-path ?

thanks Oliver
  #2 (permalink)  
Old 10-29-2003
Charles Crume
 
Posts: n/a
Default Re: looking for other solutions of "couldnīt spawn child prozess"

Hi Oliver;

I found the following while searching google for my problem. Perhaps it will
help you.

---------------------------
Subject: Re: Apache / CGI Script / Windows - Important Information
View this article only
Newsgroups: alt.apache.configuration
Date: 2002-12-11 14:08:06 PST

Assume for a moment that the Linux shebang is #!/usr/share/bin and the
actual location is C://perl/bin/perl.

What I did (so I could test Linux scripts on my Windos machine) is create a
directory "c://usr" and a subdirectory "share" then copy the /perl/bin into
that directory.

I then modified the path environment variable to include c://usr/share/bin.
Go to the control panels, and select system. Click on advanced, then
environment variables. Select the 'path' variable and edit it by placing
";C://usr/share/bin" at the end.

This is easier than changing all your shebangs.
---------------------------

Charles...


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:20 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0