Forum Moderators: phranque

Message Too Old, No Replies

Apache on windows cgi problem

         

Bobby_B

7:53 pm on Jun 29, 2006 (gmt 0)



I have set up a new server running Windows with Apache. I finally got SSI's working but having a hell of a time try to figure out why I can't get other scripts to run.

When I try to run http://www.example.com/cgi-bin/members/admin.cgi I get:
[Thu Jun 29 10:22:48 2006] [error] [client 71.114.8.177] (OS 3)The system cannot find the path specified. : couldn't create child process: 720003: admin.cgi
[Thu Jun 29 10:22:48 2006] [error] [client 71.114.8.177] (OS 3)The system cannot find the path specified. : couldn't spawn child process: C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/members/admin.cgi

When trying to run my forum script http://www.example.com/cgi-bin/forum/configgw.pl I get:
[Thu Jun 29 10:12:06 2006] [error] [client 71.114.8.177] Premature end of script headers: configgw.pl
[Thu Jun 29 10:12:06 2006] [error] [client 71.114.8.177] Can't locate /Program Files/Apache Software FoundationApache2.2/cgi-bin/webbsscripts/webbbs_settings.pl in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at C:\\Program Files\\Apache Software Foundation\\Apache2.2\\cgi-bin\\Forum\\configgw.pl line 50.\r

These scripts are not new and are currently running on a windows server.
Here are some of the pertenent directives that I have in my httpd cofig:

ScriptAlias /cgi-bin/ "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/"
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin">
AllowOverride None
Options "ExecCGI"
Order allow,deny
Allow from all
</Directory>
ScriptInterpreterSource registry
AddHandler cgi-script ExecCGI .cgi .pl
AddType text/html .shtml .shtm
AddOutputFilter INCLUDES .shtml .shtm

I must be missing something. I am pulling my hair out...LOL
Thanks,
Bob

[edited by: jdMorgan at 1:33 am (utc) on June 30, 2006]
[edit reason] No URLs, please. See TOS. [/edit]