You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Peter Rothermel <Pe...@watchguard.com> on 2002/05/02 21:25:58 UTC

Problems with Apache-AuthCookie mod_perl 1.99

greetings,

Has anybody had any luck getting Apache-AuthCookie going
on an Apache 2.0 / mod_perl 1.99 setup? The first thing that
I hit was $r->connection->user is deprecated. I've changed these
to $r->user.  The next hurdle is that the status code REDIRECT
does not seen to be Apache::Constants.

-pete

Re: Problems with Apache-AuthCookie mod_perl 1.99

Posted by Peter Rothermel <Pe...@watchguard.com>.
Michael,

I've got most of the changes done.  No major changes were
required but I'm still stuck on mod_perl 2's new method handlers.
To get past this hurdle I've moved away from method handlers and
put everything into a single package.  As soon as somebody gives
me a hand with  method handlers ala 2.0 I'll forward the code to you.

-pete

Michael J Schout wrote:

> On Thu, 2 May 2002, Per Einar Ellefsen wrote:
>
> > At 21:25 02.05.2002, Peter Rothermel wrote:
> > >greetings,
> > >
> > >Has anybody had any luck getting Apache-AuthCookie going
> > >on an Apache 2.0 / mod_perl 1.99 setup? The first thing that
> > >I hit was $r->connection->user is deprecated. I've changed these
> > >to $r->user.  The next hurdle is that the status code REDIRECT
> > >does not seen to be Apache::Constants.
> >
> > mod_perl 2 doesn't have Apache::Constants. You should use:
> >
> > use Apache::Const -compile => qw(... REDIRECT ..);
> >
> > Good luck on porting it to mod_perl 2! once you get it to work, it would be
> > great if you could contribute it to the community!
>
> If you do get it working, feel free to forward patches to me as I am the
> AuthCookie maintainer.
>
> An apache 2.0 port is on my TODO list.
>
> Mike

Re: Problems with Apache-AuthCookie mod_perl 1.99

Posted by Michael J Schout <ms...@gkg.net>.
On Thu, 2 May 2002, Per Einar Ellefsen wrote:

> At 21:25 02.05.2002, Peter Rothermel wrote:
> >greetings,
> >
> >Has anybody had any luck getting Apache-AuthCookie going
> >on an Apache 2.0 / mod_perl 1.99 setup? The first thing that
> >I hit was $r->connection->user is deprecated. I've changed these
> >to $r->user.  The next hurdle is that the status code REDIRECT
> >does not seen to be Apache::Constants.
>
> mod_perl 2 doesn't have Apache::Constants. You should use:
>
> use Apache::Const -compile => qw(... REDIRECT ..);
>
> Good luck on porting it to mod_perl 2! once you get it to work, it would be
> great if you could contribute it to the community!

If you do get it working, feel free to forward patches to me as I am the
AuthCookie maintainer.

An apache 2.0 port is on my TODO list.

Mike


Re: Problems with Apache-AuthCookie mod_perl 1.99

Posted by Per Einar Ellefsen <pe...@skynet.be>.
At 21:25 02.05.2002, Peter Rothermel wrote:
>greetings,
>
>Has anybody had any luck getting Apache-AuthCookie going
>on an Apache 2.0 / mod_perl 1.99 setup? The first thing that
>I hit was $r->connection->user is deprecated. I've changed these
>to $r->user.  The next hurdle is that the status code REDIRECT
>does not seen to be Apache::Constants.

mod_perl 2 doesn't have Apache::Constants. You should use:

use Apache::Const -compile => qw(... REDIRECT ..);

Good luck on porting it to mod_perl 2! once you get it to work, it would be 
great if you could contribute it to the community!


-- 
Per Einar Ellefsen
per.einar@skynet.be