[Xitami] Xitami, ActivePerl CGI Scripts Not Working
Patricko
xitami@lists.xitami.org
Sat, 21 Sep 2002 18:31:39 -0600
what's with the 3D stuff never seen that before
place your .pl files in the CGI-BIN directory
after removing all the 3D stuff it worked like it should
hummm
----- Original Message -----
From: "Peter van der Goes" <pvdg@worldnet.att.net>
To: <xitami@lists.xitami.org>
Sent: Saturday, September 21, 2002 4:31 PM
Subject: [Xitami] Xitami, ActivePerl CGI Scripts Not Working
This is a follow-up to my previous post requesting help with the subject
combination. In the first post, I listed the content of a simple web page
passing a short string to a simple CGI script. I very probably should have
stated this the first time around, but the page and script work fine if the
script is served from the web server provided by the author of the book
where these beginner examples are published. So, I don't believe the script
itself is the problem.
I have tried some suggestions offered by helpful people with the following
results:
"Put the complete URL of the Web Server being asked to serve the CGI in the
action line of the web page."
Works correctly if I use the book author's URL, still fails when I try to
use my local Xitami installation (get a blank page)
"Active Perl only interprets .pl files, not .cgi."
Changed the extension of animal.cgi to animal.pl. No difference noted. Still
get a blank page. If I change the extension on the simple, self-contained
script that *will* run, it runs equally well with either .cgi or .pl as the
extension.
"Study the Xitami ducumentation for settings that might accect your
situation."
I've looked at the documentation for both Xitami and ActivePerl, and
(probably because I very inexperienced) don't see anything that looks like a
possible solution. ActivePerl *claims* to automatically configure Xitami
during installation, but I suspect the configuration is not quite complete.
Other symptoms noted:
Sometimes, after a failed attempt to call a CGI from a web page, the Xitami
icon in my system tray has changed from green to yellow. On other occasions,
the icon is still green after a failed attempt, but Xitami has "stopped
responding".
Other things tried:
I have syntax checked the offending scripts in Perl and no errors are
reported.
I'm probably not describing all this very well, so if there is other
specific information needed for further analysis, please tell me and I'll
try to get it.
Any suggestions much appreciated!
**********************************************************************
** All opinions are mine alone.Do not attribute elsewhere!
**********************************************************************
** Peter van der Goes, Professor, Computers & Information Technology
** Rose State College
*********************** Contact ************************************
** Office e-mail: pvan@rose.edu
** Home e-mail: pvdg@.att.net
** Web Page: http://www.rose.edu/Faculty/pvan/index.htm
**********************************************************************