[Xitami] Xitami, ActivePerl CGI Scripts Not Working
Peter van der Goes
xitami@lists.xitami.org
Sun, 22 Sep 2002 15:36:38 -0500
Thanks very much Patricko!
I'll get to work on the mods and see what happens. I already had perl in my
path, so that part's done.
----- Original Message -----
From: "Patricko" <polson1@adelphia.net>
To: <xitami@lists.xitami.org>
Sent: Sunday, September 22, 2002 12:54 PM
Subject: Re: [Xitami] Xitami, ActivePerl CGI Scripts Not Working
> here
> http://lists.xitami.org/pipermail/xitami/2001-November/001315.html
> and here
>
> [Cgi]
> Debug = "1"
> Exit-ok = "0"
> Form-query = "1"
> Full-name = "1"
> Timeout = "120"
> Wildcard = "1"
> [Filter]
> .php = "c:\\php\\php.exe"
> .phps = "C:\\php\\php.exe -s"
> .phtml = "C:\\php\\php.exe"
> .shtm = "perlssi"
> .shtml = "perlssi"
> .ssi = "perlssi"
>
> [Ssi]
> Enabled = "1"
> Exec = "1"
> [Win32]
> 16bit-cgi = "1"
> Service-name = "Xitami"
> Service-text = "Xitami Web Server"
>
> Ok now you can add to the Autoexec.bat
> SET PATH=F:\PERL\BIN;%PATH%
>
> Next check your
> cgierr.log file that is in the xitami directory
>
> Xitami on windows look for Peal in the PATH;
>
> ----- Original Message -----
> From: "Peter van der Goes" <pvdg@worldnet.att.net>
> To: <xitami@lists.xitami.org>
> Sent: Sunday, September 22, 2002 8:44 AM
> Subject: Re: [Xitami] Xitami, ActivePerl CGI Scripts Not Working
>
>
> >
> > ----- Original Message -----
> > From: "Patricko" <polson1@adelphia.net>
> > To: <xitami@lists.xitami.org>
> > Sent: Sunday, September 22, 2002 8:45 AM
> > Subject: Re: [Xitami] Xitami, ActivePerl CGI Scripts Not Working
> >
> >
> > snip
> > > changed this line to
> > > <form action="/cgi-bin/animal.cgi" METHOD=POST>
> > > and it worked
> > snip>
> > OK. I tried that and still get the empty page.
> > Sounds like you have an Xitami/Active Perl setup?
> > Would you be so kind as to share the contents of your defaults.cfg in
your
> > Xitami directory?
> > I did add to mine to support PHP, and am now wondering if the addition
of:
> >
> > [mime]
> > php-application/xhttpd-php4
> >
> > and
> >
> > [filter]
> > .php=C:\PHP\php.exe
> >
> > has somehow interfered with calling of CGI's?
> >
> > > ----- Original Message -----
> > > From: "Peter van der Goes" <pvdg@worldnet.att.net>
> > > To: <xitami@lists.xitami.org>
> > > Sent: Sunday, September 22, 2002 6:24 AM
> > > Subject: Re: [Xitami] Xitami, ActivePerl CGI Scripts Not Working
> > >
> > >
> > > > Please tell me what 3D stuff you are referring to?
> > > >
> > > > ----- Original Message -----
> > > > From: "Patricko" <polson1@adelphia.net>
> > > > To: <xitami@lists.xitami.org>
> > > > Sent: Saturday, September 21, 2002 7:31 PM
> > > > Subject: Re: [Xitami] Xitami, ActivePerl CGI Scripts Not Working
> > > >
> > > >
> > > > > 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
> > > > >
> **********************************************************************
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Xitami Users Mailing List -- For Xitami support
> > > > > To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
> > > >
> > > >
> > > > --
> > > > Xitami Users Mailing List -- For Xitami support
> > > > To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
> > >
> > >
> > > --
> > > Xitami Users Mailing List -- For Xitami support
> > > To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
> > >
> >
> >
> > --
> > Xitami Users Mailing List -- For Xitami support
> > To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami