[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: cgi stuff



You're missing some Perl modules. You can download the missing
LWP/UserAgent.pm from

http://www.perl.com/CPAN-local/README.html

if you get any other "Can't locate ..." download it from there.


----- Original Message -----
From: "John Kelly Robison" <robison serv zusas uni-halle de>
To: <redhat-install-list redhat com>
Sent: Monday, September 25, 2000 4:10 PM
Subject: Re: cgi stuff


> thanks for the info.  I've installed both simpleparse and SSI, though I
had an error message when I
> ran install test on SSI.  It's here below.  The counter still doesn't
work.
>
> [root serv Apache-SSI-2.11]# make test
> PERL_DL_NONLAZY=1
/usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.00503/
> sparc-linux -I/usr/lib/perl5/5.00503 -e 'use Test::Harness qw(&runtests
$verbose
> ); $verbose=0; runtests @ARGV;' t/*.t
> t/fake..............ok
> t/real..............Can't locate LWP/UserAgent.pm in @INC (@INC contains:
blib/a
> rch blib/lib /usr/lib/perl5/5.00503/sparc-linux
/usr/lib/perl5/5.00503/sparc-lin
> ux /usr/lib/perl5/5.00503/sparc-linux /usr/lib/perl5/5.00503
/usr/lib/perl5/5.00
> 503/sparc-linux /usr/lib/perl5/5.00503/sparc-linux /usr/lib/perl5/5.00503
/usr/l
> ib/perl5/site_perl/5.005/sparc-linux
/usr/lib/perl5/site_perl/5.005/sparc-linux
> /usr/lib/perl5/site_perl/5.005 . /usr/lib/perl5/5.00503/sparc-linux
/usr/lib/per
> l5/5.00503 /usr/lib/perl5/site_perl/5.005/sparc-linux
/usr/lib/perl5/site_perl/5
> .005 .) at real.t line 37.
> BEGIN failed--compilation aborted at real.t line 37.
> dubious
>         Test returned status 2 (wstat 512, 0x200)
> Undefined subroutine &Test::Harness::WCOREDUMP called at
/usr/lib/perl5/5.00503/
> Test/Harness.pm line 288.
> make: *** [test_dynamic] Error 2
>
>
> identity wrote:
>
> > > The text counter is supposed to run from this line in the web page:
> > > <!--#exec cgi="cgi-bin/counter.cgi"-->, but doesn't.  Anyone have any
> > > advice?
> >
> > the problem is that apache doesn't understand SSI. <!--#exec
> > cgi="cgi-bin/counter.cgi"--> is an SSI command. I've included the needed
> > files to make SSI work.
> > first install HTML-SimpleParse, then Apache-SSI by typing
> >
> > perl Makefile.PL
> > make
> > make test
> > make install
> >
> > afterwards you've got to change some things in your httpd.conf:
> > add these lines:
> >
> >     AddType text/html .shtml
> >     AddHandler server-parsed .shtml
> >
> > or if you don't want to use shtml extensions just add this line
> >
> >     AddHandler server-parsed .html
> >
> > I see that you already have this line
> >
> > Options ExecCgi Includes Indexes
> >
> > So you don't have to add
> >
> > Options Includes
> >
> > If you've done all this, your counter should work.
> >
> > > The form cgi has a slightly different probelm.  It seems to be running
> > > correctly, but does not email the recipient.  One line in teh script
> > > calls for the mail program on the server.  Our web server is also set
up
> > > as the email server (which works), but the recipient never gets the
> > > email.  The mail program is sendmail.cf, right?  Or am I completely
> > > off-base with this?
> >
> > You're right. Sendmail is the used program. But I don't know how to use
it.
> > Sorry
> >
> > Hope this helps
> >
>
  ------------------------------------------------------------------------
> >                                    Name: HTML-SimpleParse-0.08.tar.gz
> >    HTML-SimpleParse-0.08.tar.gz    Type: WinZip File
(application/x-unknown-content-type-WinZip)
> >                                Encoding: base64
> >
> >                              Name: Apache-SSI-2.11.tar.gz
> >    Apache-SSI-2.11.tar.gz    Type: WinZip File
(application/x-unknown-content-type-WinZip)
> >                          Encoding: base64
>
>
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-install-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]