[Xitami] Xitami, ActivePerl CGI Scripts Not Working

Peter van der Goes xitami@lists.xitami.org
Sat, 21 Sep 2002 17:31:09 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_002B_01C26194.AC6D6620
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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! =20
**********************************************************************
** 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
**********************************************************************


------=_NextPart_000_002B_01C26194.AC6D6620
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>This is a follow-up to my previous post requesting =
help with=20
the subject combination. In the first post, I listed the content of a =
simple web=20
page passing a short string to a simple CGI script. I very probably =
should have=20
stated this the first time around, but the page and script work fine if =
the=20
script is served from the web server provided by the author of the book =
where=20
these beginner examples are published. So, I don't believe the script =
itself is=20
the problem.</FONT></DIV>
<DIV><FONT size=3D2>I have tried some suggestions offered by helpful =
people with=20
the following results:</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>"Put the complete URL of the Web Server being asked =
to serve=20
the CGI in the action line of the web page."</FONT></DIV>
<DIV><FONT size=3D2>Works correctly if I use the book author's URL, =
still fails=20
when I try to use my local Xitami installation (get a blank =
page)</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>"Active Perl only interprets .pl files, not=20
.cgi."</FONT></DIV>
<DIV><FONT size=3D2>Changed the extension of animal.cgi to animal.pl. No =

difference noted. Still get a blank page. If I change the extension on =
the=20
simple, self-contained script that *will* run, it runs equally well with =
either=20
.cgi or .pl as the extension.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>"Study the Xitami ducumentation for settings that =
might accect=20
your situation."</FONT></DIV>
<DIV><FONT size=3D2>I've looked at the documentation for both Xitami and =

ActivePerl, and (probably because I very inexperienced) don't see =
anything that=20
looks like a possible solution. ActivePerl *claims* to automatically =
configure=20
Xitami during installation, but I suspect the configuration is not quite =

complete.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Other symptoms noted:</FONT></DIV>
<DIV><FONT size=3D2>Sometimes, after a failed attempt to call a CGI from =
a web=20
page, the Xitami icon in my system tray has changed from green to =
yellow. On=20
other occasions, the icon is still green after a failed attempt, but =
Xitami has=20
"stopped responding".</FONT></DIV>
<DIV><FONT size=3D2>Other things tried:</FONT></DIV>
<DIV><FONT size=3D2>I have syntax checked the offending scripts in Perl =
and no=20
errors are reported.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>I'm probably not describing all this very well, so =
if there is=20
other specific information needed for further analysis, please tell me =
and I'll=20
try to get it.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Any suggestions much appreciated!</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT=20
size=3D2>****************************************************************=
******<BR>**&nbsp;=20
All opinions are mine alone.Do not attribute elsewhere!&nbsp;=20
<BR>*********************************************************************=
*<BR>**=20
Peter van der Goes, Professor, Computers &amp; Information=20
Technology<BR>**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Rose State College<BR>***********************&nbsp; Contact&nbsp;=20
************************************<BR>** Office e-mail:&nbsp; <A=20
href=3D"mailto:pvan@rose.edu">pvan@rose.edu</A><BR>** Home&nbsp;&nbsp;=20
e-mail:&nbsp; <A href=3D"mailto:pvdg@.att.net">pvdg@.att.net</A><BR>** =
Web=20
Page:&nbsp; <A=20
href=3D"http://www.rose.edu/Faculty/pvan/index.htm">http://www.rose.edu/F=
aculty/pvan/index.htm</A><BR>********************************************=
**************************<BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_002B_01C26194.AC6D6620--