Hi Ron, > Trying to get CA plus some plugins working under mod_perl. > CAP-AnyTemplate (v0.07) works fine as part of regular cgi script, but > when run under mod_perl:
> $self->template->config( > Configs->AT_CONFIG, > ); Do you put the call to $self->template->config inside of your application's setup or cgiapp_init methods? Or is it outside all methods? If it's outside all methods, try putting it in your cgiapp_init. Basically, the $self->template object gets re-created on every request, so you need to initilize it at the beginning of each request too. (However, in case you were wondering, the underlying TT object is cached between requests.) Michael -- Michael Graham <[EMAIL PROTECTED]> --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[email protected]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
