[cgiapp] CGI::Application wiki page Examples updated by chorny

2011-01-14 Thread cgiapp
CGI::Application page http://cgi-app.org/index.cgi?Examples edited by chorny

#  CGI::Application community mailing list  
####
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp##
####
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:  http://cgiapp.erlbaum.net/ ##
####




[cgiapp] CGI::Application wiki page Examples updated by chorny

2011-01-14 Thread cgiapp
CGI::Application page http://cgi-app.org/index.cgi?Examples edited by chorny

#  CGI::Application community mailing list  
####
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp##
####
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:  http://cgiapp.erlbaum.net/ ##
####




Re: [cgiapp] mod_perl/fast_cgi No such runmode

2011-01-14 Thread John
 I've been using CGI::Application with a number of modules and it
 has been working fine in plain CGI mode.  I want the pages loading
 a bit faster, so, have been looking at both FastCGI and mod_perl.
 
 Some of the main modules I'm using are:
 
   CGI::Application::Plugin::AutoRunmode
   CGI::Application::Plugin::Authentication
   CGI::Application::Plugin::Session
   CGI::Application::Plugin::DBH
   CGI::Application::Plugin::DBIx::Class ':all';
   CGI::Application::Plugin::TT
 
 I have tried both FastCGI and mod_perl and both display the same 
 problem.  Simple scripts that basically output a template via TT 
 work fine, however, when I try to authenticate and login I start
 getting the error:
 
   No such run mode 'login_okay'
 
 It appears that I now have a logged in session, but, getting the
 No such run mode error.
 

Sorted this out in the end.

Ended up making a custom callback in my Base.pm package and
moved most of cgiapp_init into the callback and another change
calling $self-SUPER::cgiapp_prerun.

Regards,
John

#  CGI::Application community mailing list  
####
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp##
####
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:  http://cgiapp.erlbaum.net/ ##
####