Re: NEWBIE: Apache and Apache Cookie Module missing?

2002-11-24 Thread Randy Kobes
On Sun, 24 Nov 2002, Joe Palladino wrote:

> I have a Redhat 7.3 system running Apache 1.3.23, perl 5.6.1,
> and the latest updates.  I am trying to do something very
> simple, set a cookie and read it. I ran perl -MCPAN -e shell
> and installed libnet, Bundle::Apache, etc.
> 
> I put the following in my httpd.conf
> 
> PerlModule Apache
> PerlModule Apache::Cookie

You need the libapreq package, from CPAN, for Apache::Cookie and
Apache::Request.

-- 
best regards,
randy kobes




NEWBIE: Apache and Apache Cookie Module missing?

2002-11-24 Thread Joe Palladino
I have a Redhat 7.3 system running Apache 1.3.23, perl 5.6.1, and the latest
updates.  I am trying to do something very simple, set a cookie and read it.
I ran perl -MCPAN -e shell and installed libnet, Bundle::Apache, etc.

I put the following in my httpd.conf

PerlModule Apache
PerlModule Apache::Cookie
PerlModule CGI
PerlModule CGI::Cookie

and my code is

use Apache::Constants qw(:common);
use Apache::Cookie ();
use Apache();

my $r;
Apache->request([$r]);


I get the error that the request object is not found and have I loaded the
Apache module.  As far as I can tell I am doing everything right.  Can
someone point me in the right direction?

Thank you,
Joe Palladino
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.422 / Virus Database: 237 - Release Date: 11/20/2002