Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 74639 invoked by uid 500); 26 Apr 2002 03:03:03 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 74557 invoked from network); 26 Apr 2002 03:03:02 -0000 Received: from home.rdsnet.ro (HELO relay1.home.ro) (193.231.236.40) by daedalus.apache.org with SMTP; 26 Apr 2002 03:03:02 -0000 Received: (qmail 12169 invoked from network); 26 Apr 2002 03:03:09 -0000 Received: from unknown (HELO smtp) (213.233.97.116) by s1.home.ro with SMTP; 26 Apr 2002 03:03:09 -0000 Message-ID: <002e01c1ecce$d6c2bff0$0100a8c0@microsoft.com> From: "Octavian Rasnita" To: References: Subject: Re: Apache 2.0.35 on Win 2k / CGI Date: Fri, 26 Apr 2002 06:02:04 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Yes I know, but why I can't use #!/perl/bin/perl ... like in Apache 1.33?? Teddy, orasnita@home.ro ----- Original Message ----- From: "Admin" To: Sent: Friday, April 26, 2002 4:59 AM Subject: RE: Apache 2.0.35 on Win 2k / CGI ok...I think i know what the problem is: the shebang line path is different for windows...in that... the "slash" is backwards , instead of frontwards... instead of this: #!C:/perl/bin/perl.exe it should be this: #!c:\perl\bin\perl.exe -----Original Message----- From: Octavian Rasnita [mailto:orasnita@home.ro] Sent: Thursday, April 25, 2002 9:18 PM To: users@httpd.apache.org Subject: Re: Apache 2.0.35 on Win 2k / CGI I also found that in Apache 2 I need to change the shebang line to: #!C:/perl/bin/perl.exe This way it works. I need to use the .exe extension in the shebang line because otherwise it won't work. And it doesn't work anymore with: #!/perl/bin/perl Teddy, orasnita@home.ro ----- Original Message ----- From: "Dave Findlay" To: Sent: Thursday, April 25, 2002 11:55 PM Subject: RE: Apache 2.0.35 on Win 2k / CGI Also, to confuse this issue, if I run any of my scripts I get (ie other than printenv.pl): Error message: couldn't create child process: 22503: C:/.../mine.pl The only difference I can see is my shebang line is configured for unix, but I have the ScriptInterpreterSource registry entry in my httpd.conf. The 2.0 docs say this is still valid, but it does not appear to be working for me. -----Original Message----- From: Dave Findlay [mailto:dave@cameronfindlay.com] Sent: Thursday, April 25, 2002 2:50 PM To: users@httpd.apache.org Subject: RE: Apache 2.0.35 on Win 2k / CGI Oddly, if I make the URL http://127.0.0.1:8888/printenv.pl/ it executes correctly, but why on earth would I have to add a slash on the end? -----Original Message----- From: Dave Findlay [mailto:dave@cameronfindlay.com] Sent: Thursday, April 25, 2002 2:29 PM To: users@httpd.apache.org Subject: RE: Apache 2.0.35 on Win 2k / CGI I tried copying printenv.pl to htdocs, adding the ExecCGI and adding AddHandler cgi-script .pl but it still tries to download it. Thanks, Dave -----Original Message----- From: Fernando Reuter Wendt [mailto:fernando@admijui.unijui.tche.br] Sent: Thursday, April 25, 2002 2:21 PM To: 'users@httpd.apache.org' Subject: RES: Apache 2.0.35 on Win 2k / CGI Take a look at the Directory /htdocs I have included 'ExecCGI' directive and it works. Maybe it works... So long, +--------------------- Fernando A. R. Wendt -----Mensagem original----- De: Dave Findlay [mailto:dave@cameronfindlay.com] Enviada em: quinta-feira, 25 de abril de 2002 17:14 Para: users@httpd.apache.org Assunto: Apache 2.0.35 on Win 2k / CGI I cannot get any kind of CGI working with Apache 2 on my Win 2k box. I had it all working perfectly with 1.3.22 but now nothing works at all. I have tried to go back to basics and just get printenv.pl working from the default cgi-bin, but instead of executing the script it tries to download it. Any ideas? Thanks, Dave --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org