Re: [Catalyst] so many 'sleep' process in mysql.

2009-04-25 Thread Lars Balker Rasmussen
On Sat, Apr 25, 2009 at 6:20 AM, Malloy jackwor...@gmail.com wrote: I use 'Catalyst::Model::DBIC::Schema'. But i find so many 'sleep' process in mysql. Is it normal? If not, why and how to avoid it? It's perfectly normal for a process to sleep when it doesn't have anything to do. It would

Re: [Catalyst] What's the best way to exclude static requests from needing user to log in?

2009-04-25 Thread Nickolay Platonov
Oh, I didn't knew, I can use custom attributes, cool.. On Mon, Apr 20, 2009 at 5:13 PM, Matt S Trout dbix-cl...@trout.me.ukwrote: On Sun, Apr 19, 2009 at 05:53:42PM +0400, Nickolay Platonov wrote: and I'm using this to implicitly specify which actions in controllers require authorization:

Re: [Catalyst] unexpected behavior of $c-request-secure and $c-request-base

2009-04-25 Thread Bill Moseley
On Fri, Apr 24, 2009 at 03:48:36PM -0700, Phil Mitchell wrote: I am running mod_perl/Apache 2.0 and serving SSL on a non-standard port via a VirtualHost. I thought my apache setup was vanilla, but perhaps not -- I am no apache expert. It seems surprising to have to set an ENV variable in

Re: [Catalyst] Can't seem to use forward or detach. Any special requirements?

2009-04-25 Thread oliver . g . charles
kakim...@tpg.com.au wrote: hello, all, I have a method in my controller which adds entries. The method is setup to match the path of 'users/subscriptions/add'. Upon successfully adding entries, I want the same method to be executed again (only that the method will know which template

Re: [Catalyst] unexpected behavior of $c-request-secure and $c-request-base

2009-04-25 Thread seasprocket
On Sat, Apr 25, 2009 at 6:29 AM, Bill Moseley mose...@hank.org wrote: On Fri, Apr 24, 2009 at 03:48:36PM -0700, Phil Mitchell wrote: I am running mod_perl/Apache 2.0 and serving SSL on a non-standard port via a VirtualHost. I thought my apache setup was vanilla, but perhaps not -- I

Re: [Catalyst] unexpected behavior of $c-request-secure and $c-request-base

2009-04-25 Thread Hans Dieter Pearcey
On Sat, Apr 25, 2009 at 06:29:50AM -0700, Bill Moseley wrote: The SSL decryption is happening on Apache and Apache is proxying the request to Catalyst. What? No it isn't. It's using mod_perl; there's no reverse proxying going on from the config snippet pasted. Also, this means that

Re: [Catalyst] unexpected behavior of $c-request-secure and $c-request-base

2009-04-25 Thread Bill Moseley
On Sat, Apr 25, 2009 at 04:23:50PM -0400, Hans Dieter Pearcey wrote: On Sat, Apr 25, 2009 at 06:29:50AM -0700, Bill Moseley wrote: The SSL decryption is happening on Apache and Apache is proxying the request to Catalyst. What? No it isn't. It's using mod_perl; there's no reverse proxying

Re: [Catalyst] unexpected behavior of $c-request-secure and $c-request-base

2009-04-25 Thread seasprocket
On Sat, Apr 25, 2009 at 1:23 PM, Hans Dieter Pearcey hdp.perl.catalyst.us...@weftsoar.net wrote: On Sat, Apr 25, 2009 at 06:29:50AM -0700, Bill Moseley wrote: The SSL decryption is happening on Apache and Apache is proxying the request to Catalyst. What? No it isn't. It's using

Re: [Catalyst] unexpected behavior of $c-request-secure and $c-request-base

2009-04-25 Thread Hans Dieter Pearcey
On Sat, Apr 25, 2009 at 05:46:55PM -0700, seasproc...@gmail.com wrote: Dear original poster: is Apache2::ModSSL installed? No, it's not. Should it be? Other than to avoid this issue? I have no idea; the code I pasted from Engine::Apache uses it as its preferred method of determining