Re: [Templates] TT2, Apache2, mod_perl2, Apache::SessionManager

[prev] [thread] [next] [Date index for 2004/06/10]

From: Stephen Quinney
Subject: Re: [Templates] TT2, Apache2, mod_perl2, Apache::SessionManager
Date: 15:47 on 10 Jun 2004
On Thu, Jun 10, 2004 at 02:45:58PM +0100, Mike Whitaker wrote:
> Having a problem trying to get Apache::SessionManager to work under TT2 
> with Apache2/mod_perl2
> 
> If I set it up as a PerlTransHandler, nothing happens: as far as I can 
> see nothing gets called to set a session cookie, but my_sess.set seems 
> to do the right thing. If I set it up as a PerlHeaderParserHandler, I 
> get
>   Usage: $class->jar($env, $data) at 
> /usr/lib/perl5/Apache2/Apache/Cookie.pm line 60.\n
> as soon as I try and access any page.
> 
> This may, I suspect, not be a TT/Apache::Template issue, but it's kind 
> of hard to tell how everything interacts.

[lots of stuff snipped]

This might work if you add into your httpd.conf the line:

PerlModule Apache::compat;

I wouldn't totally bank on it though as Apache::Template and
Apache::SessionManager were both written for modperl1. They may or may
not work in the compatibility mode (they certainly won't work in
straight modperl2 mode).

Stephen Quinney


_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

(message missing)

Re: [Templates] TT2, Apache2, mod_perl2, Apache::SessionManager
Stephen Quinney 15:47 on 10 Jun 2004

[Templates] Templates and mod_rewrite.
=?ISO-8859-1?Q?Lo=EFc?= Paillotin 09:22 on 22 Jun 2004

Re: [Templates] Templates and mod_rewrite.
=?ISO-8859-1?Q?Lo=EFc?= Paillotin 09:43 on 22 Jun 2004

Generated at 08:55 on 15 Mar 2005 by mariachi v0.52