On Wed, Apr 18, 2012 at 6:00 AM, Jason Galea <[email protected]>wrote:
> > > On Tue, Apr 17, 2012 at 4:11 AM, Rippl, Steve > <[email protected]>wrote: > >> We're just upgrading to Catalyst 5.9 from 5.8, and therefore switching >> from the old Catalyst::Plugin::RequireSSL >> to Catalyst::ActionRole::RequireSSL. The old module would detect when is >> was running under the standalone server and so was fine under development. >> > > I could be wrong, but I think you'll find both of those modules are > testing for Catalyst::Engine::HTTP which is not applicable since the move > to PSGI. (Possibly depending on how you're running things). > > I think you're absolutely right! I found this... $c->config->{require_ssl}->{disabled} = $c->engine->isa("Catalyst::Engine::HTTP") ? 1 : 0; Anyone know what I should be testing for now? When I query $c->engine_class I get Catalyst::Engine whether I'm running under the development server or fastcgi. Thanks, Steve -- Steve Rippl Technology Director Woodland Public Schools 360 841 2730
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
