Re: About config file

2013-03-07 Thread Andy Colson
On 3/6/2013 9:00 PM, Ken Peng wrote: Hello, How do you setup config file in modperl web development? I currently use the style like a package: package Myconfig; sub new { my $class = shift; my $option = { key1 => 'foo', key2 => 'bar', ... }; bless $option,$class; } 1; Then in

How to determine what makes Apache crash?

2013-03-07 Thread Michiel Beijen
Hi, I'm using mod_perl 2.0.7 on Windows with Apache 2.2.23. I got Apache from Apachelounge, and compiled mod_perl and perl 5.16.2 myself using Visual Studio 2008. I'm using a 32-bit Windows Vista. Pretty frequently my app (which works just fine on Linux) makes Apache crash. If I perform 500 reque

Re: How to determine what makes Apache crash?

2013-03-07 Thread Jeff Trawick
On Thu, Mar 7, 2013 at 9:52 AM, Michiel Beijen wrote: > Hi, > > I'm using mod_perl 2.0.7 on Windows with Apache 2.2.23. I got Apache > from Apachelounge, and compiled mod_perl and perl 5.16.2 myself using > Visual Studio 2008. I'm using a 32-bit Windows Vista. > > Pretty frequently my app (which w

Re: About config file

2013-03-07 Thread Adam Prime
On 03/06/2013 11:21 PM, Jon wrote: > > Is there any reason he can't use Config::Any? > http://search.cpan.org/~bricas/Config-Any-0.23/lib/Config/Any.pm > > > There's no reason why he can't use any Config package, or roll his own

Re: How to determine what makes Apache crash?

2013-03-07 Thread Michiel Beijen
On Thu, Mar 7, 2013 at 4:02 PM, Jeff Trawick wrote: > mod_backtrace (http://emptyhammock.com/projects/httpd/diag/) may be a > shortcut to getting a backtrace. There's a binary for use with Apache 2.2 > on Windows in the download package. > > Any mechanism for getting a backtrace will require tha

Re: How to determine what makes Apache crash?

2013-03-07 Thread Jeff Trawick
On Thu, Mar 7, 2013 at 2:43 PM, Michiel Beijen wrote: > On Thu, Mar 7, 2013 at 4:02 PM, Jeff Trawick wrote: > > > mod_backtrace (http://emptyhammock.com/projects/httpd/diag/) may be a > > shortcut to getting a backtrace. There's a binary for use with Apache > 2.2 > > on Windows in the download p

Re: About config file

2013-03-07 Thread Anton Petrusevich
On Thursday 07 March 2013 11:00:37 Ken Peng wrote: > Hello, > > How do you setup config file in modperl web development? > I currently use the style like a package: > ... > I don't know if this is a good way. Do you have suggestions? I am not an expert here, but I think it's acceptable way. YAML

How to determine what makes Apache crash?

2013-03-07 Thread Michiel Beijen
Hi, I'm using mod_perl 2.0.7 on Windows with Apache 2.2.23. I got Apache from Apachelounge, and compiled mod_perl and perl 5.16.2 myself using Visual Studio 2008. I'm using a 32-bit Windows Vista. Pretty frequently my app (which works just fine on Linux) makes Apache crash. If I perform 500 reque