Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 7616 invoked by uid 500); 19 May 2003 19:53:10 -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 7596 invoked from network); 19 May 2003 19:53:10 -0000 Received: from spitfire.velocet.net (216.138.223.227) by daedalus.apache.org with SMTP; 19 May 2003 19:53:10 -0000 Received: from mail.gej-it.com (gej-it.com [216.138.220.213]) by spitfire.velocet.net (Postfix) with ESMTP id A6BA14B80F3 for ; Mon, 19 May 2003 15:53:14 -0400 (EDT) Received: from jeff ([216.138.220.213]) by gej-it.com ([216.138.220.213]) with SMTP (MDaemon.PRO.v6.7.9.R) for ; Mon, 19 May 2003 15:52:53 -0400 From: "Jeff Cohen" To: Date: Mon, 19 May 2003 15:52:23 -0400 Message-ID: <000901c31e40$2b07af50$0300000a@gejit.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 In-Reply-To: <000c01c31e2f$6112e3f0$56fd1f42@z0e8q1> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Lookup-Warning: EHLO lookup on jeff does not match 216.138.220.213 X-MDRemoteIP: 216.138.220.213 X-Return-Path: support@gej-it.com X-MDaemon-Deliver-To: users@httpd.apache.org X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: RE: [users@httpd] CGI hangs on WinXP Couple of things in a quick checklist: 1. do you have the shebang line pointing to your perl executable? = (should be like: #!c:\perl\bin\perl.exe) 2. try running http://localhost/cgi-bin/printenv.pl as a test, what's = the result? Do you see the environment variables? 3. which version of perl are you using? Is it 5.8x or 5.6x? 4. when you doubleclick on printenv.pl at the first time, you would get = a popup window: "open with.." choose the perl.exe that you have installed = and assign the checkbox that will associate the .pl extension to perl.exe, = that way you can try out your .pl scripts from the command line. 5. if it is possible for you, try installing any of the packages into folders without spaces, such as c:\apache\apache2, c:\apache\perl or anything similar, it might cause you troubles in the future and you = won't need to use " " when you enter folder's names. All the best and good luck, Jeff Cohen Supoprt@GEJ-IT.com Tel. (416) 917-2324 www.GEJ-IT.com GEJ-IT Networks! > -----Original Message----- > From: David Wilson [mailto:davidwwilson@attbi.com] > Sent: Monday, May 19, 2003 1:52 PM > To: Apache Users > Subject: [users@httpd] CGI hangs on WinXP >=20 > I am currently out of work, I am attempting to pick up CGI, mod_perl, = PHP, DBI > and > MySQL. To that end, I would like to set up an Apache server on my = home PC to > serve local pages, I do not need or desire remote access. I am having trouble > getting apache to run CGI scripts. >=20 > My PC is running WinXP upgraded from Win98. I have CYGWIN and = ActivePerl > both installed, they don't seem to be stepping on each other's toes. >=20 > I installed Apache 2.0.45 using the default install params. I = modified the > httpd.conf > as follows: >=20 > -------------------------------------------------------------------------= --- ---------------- > < ServerAdmin admin@ne1.client2.attbi.com > > ServerAdmin davidwwilson@attbi.com >=20 > < DirectoryIndex index.html index.html.var > > DirectoryIndex index.htm index.html index.html.var >=20 > > AllowOverride None > < Options None > > Options All MultiViews > Order allow,deny > Allow from all > >=20 > AddType application/x-tar .tgz > AddType image/x-icon .ico > > AddType script .cgi > > AddType script .pl >=20 > > #AddHandler cgi-script .cgi > < AddHandler cgi-script .cgi .pl > -------------------------------------------------------------------------= --- ---------------- >=20 > My immediate goal is to get a CGI script to execute. For a CGI = script, > I am using the verbatim printenv.pl script include in Apache > (C:\Program Files\Apache Group\Apache2\cgi-bin\printenv.pl) > I have created the following FormTest.htm file to invoke the CGI = script: > (C:\Program Files\Apache Group\Apache2\htdocs\FormTest.htm): >=20 > -------------------------------------------------------------------------= --- ---------------- > > > Form Test Page > > >

Form Test Page

>
>

Enter input here: > >

>
> > > -------------------------------------------------------------------------= --- ---------------- >=20 > This page displays correctly, but when I enter data into the form = field > and hit enter, the screen goes blank and stays that way. The URL > window shows > C:\Program Files\Apache Group\Apache2\htdocs\FormTest.htm. > The back button restores the form. >=20 > I added code near the top of printenv.pl to create a file, which file > never gets created, indicating that printenv.pl never gets executed > (or else the CGI doesn't have permissions to create the file). At any > rate, with my limited experience, I am running out of ideas. If any > of you see anything grossly wrong with my settings or form, I could > really use some help right now. >=20 > Thanks in advance, >=20 > Dave Wilson --------------------------------------------------------------------- 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 " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org