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, ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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... |