[Xitami] Re: ActivePerl & Xitami - CGI problems Continued

Peter van der Goes xitami@lists.xitami.org
Mon, 23 Sep 2002 06:46:38 -0500


----- Original Message -----
From: "$Bill Luebkert" <dbe@wgn.net>
To: "Peter van der Goes" <pvdg@worldnet.att.net>
Sent: Sunday, September 22, 2002 6:02 PM
Subject: Re: ActivePerl & Xitami - CGI problems Continued


Once again, thanks $BIll, for continuing to try to help!
Answers in context...

 When I downloaded and installed it last night, it created a cgi-bin dir
right
> under install dir (parallel to webpages dir).  Look in INSTALL.LOG, I
have:
>
> Made Dir: I:\Xitami\cgi-bin
> File Copy: I:\Xitami\cgi-bin\testperl.pl
>
My install.log has no such entry. Strange. I'll have to try to contact
Xitami by a more direct means to address this phenomenon.

> > <body>
> > <form action="/cgi-bin/animal.cgi" METHOD=POST>
> > Which animal? <INPUT type="text" name="animal">
> > <P><INPUT type="submit">
> > </form>
> > </body>
> >
> >>From animal.cgi (in \xitami\cgi-bin)
> > #!C:\perl\bin\perl.exe -w
> > use strict;
> > use CGI ':standard';
> >
> > my $animal;
> > $animal = param('animal');
> >
> > print "Content-type: text/html\n\n";
> > print "Show me the $animal";
>
> Ran both of those and they worked fine (changed drive for Perl and that's
all).
As I suspected 8).
>
> >>From access.log
> > No entries from displaying animal.html
>
> I get:
>
> 127.0.0.1 - - [22/Sep/2002:15:33:23 -0800] "GET /animal.html HTTP/1.1" 200
146 "" "Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.1) Gecko/20020823
Netscape/7.0"
>
> and
>
> 127.0.0.1 - - [22/Sep/2002:15:33:35 -0800] "POST /cgi-bin/animal.cgi
HTTP/1.1" 200 21 "http://localhost:8080/animal.html" ""
>
>
> I get nothing new here.  You're getting a 404 (Not Found) error and appear
to
> be using a private area under HTTP authentication (pvan field).  Did you
modify
> xitami.aut ?

No, but the message report was my error.
>
> >>From cgierr.log
> > No entries from displaying animal.html, entering text and clicking on
> > Submit.
>
> That's good (except no output).
>
> The only difference is that I'm using port 8080 (I have Apache running on
80).
>
>      portbase=8000 in xitami.cfg

I could also try a different portbase, just in case.
>
> Have you tried another browser just for kicks ?
No, but I'm about to do several things.
1. Try all this on a PC that has none of AT&T Worldnet software on it, and
2. Try Netscape.

Again, thank you very much for all your efforts!
>
> --
>    ,-/-  __      _  _         $Bill Luebkert   ICQ=162126130
>   (_/   /  )    // //       DBE Collectibles   Mailto:dbe@todbe.com
>    / ) /--<  o // //      http://dbecoll.tripod.com/ (Free site for Perl)
> -/-' /___/_<_</_</_     Castle of Medieval Myth & Magic
http://www.todbe.com/
>
>