Re: support for Apache 2.4

2014-02-20 Thread Andy Colson
On 02/20/2014 02:57 PM, Andy Colson wrote: On 02/20/2014 02:53 PM, Jeff Trawick wrote: On Thu, Feb 20, 2014 at 3:49 PM, Andy Colson mailto:a...@squeakycode.net>> wrote: On 02/16/2014 09:36 AM, Steve Hay wrote: On 16 February 2014 15:11, Dominic Hargreaves mailto:d...@ea

Re: support for Apache 2.4

2014-02-20 Thread Andy Colson
On 02/20/2014 02:53 PM, Jeff Trawick wrote: On Thu, Feb 20, 2014 at 3:49 PM, Andy Colson mailto:a...@squeakycode.net>> wrote: On 02/16/2014 09:36 AM, Steve Hay wrote: On 16 February 2014 15:11, Dominic Hargreaves mailto:d...@earth.li>> wrote: On Sun, Feb 16

Re: support for Apache 2.4

2014-02-20 Thread Andy Colson
On 02/16/2014 09:36 AM, Steve Hay wrote: On 16 February 2014 15:11, Dominic Hargreaves wrote: On Sun, Feb 16, 2014 at 11:10:20PM +1100, Carl Brewer wrote: Having just downloaded this latest SVN repo, a grep for "2.4" in the root dir shows a couple of changes, but no explicit mention of 2.4 sup

Re: support for Apache 2.4

2014-02-15 Thread Andy Colson
On 02/15/2014 08:48 AM, Perrin Harkins wrote: On Fri, Feb 14, 2014 at 8:01 PM, Jie Gao wrote: The link http://svn.apache.org/snapshots/modperl-2.0/ on page http://perl.apache.org/download/source.html#Development_mod_perl_2_0_Source_Distribution returns 404; http://perl.apache.org/dist/ is full

Re: Detection "connection reset by peer" in mod_perl before send a response

2013-08-10 Thread Andy Colson
On 08/10/2013 06:54 AM, Lucas wrote: Dear all. I need to detect that user pressed escape, apache receives it like "connection reset by peer" (I saw it with truss, freebsd strace), before my script will send a response to client. I can explain: my script works some time (about 2-3 sec), it gat

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

Re: MP and 2.4 Compilation Woes

2013-02-08 Thread Andy Colson
On 2/8/2013 11:01 AM, Kevin A. McGrail wrote: On 2/8/2013 11:33 AM, Andy Colson wrote: XML_Memory_Handling_Suite is from expat. I have 2.0.1 installed. Do you have the expat-dev package installed? I did not, I do now, no apparent change. Regards, KAM Maybe there are other dev packages

Re: MP and 2.4 Compilation Woes

2013-02-08 Thread Andy Colson
On 2/8/2013 10:30 AM, Andy Colson wrote: On 2/8/2013 10:09 AM, Kevin A. McGrail wrote: On 2/8/2013 11:04 AM, Kevin A. McGrail wrote: On 2/8/2013 11:01 AM, Andy Colson wrote: thought you had typed: >> > /usr/local/perl-5.14/bin/perl build/source_scan.pl Do you have multiple perl&#x

Re: MP and 2.4 Compilation Woes

2013-02-08 Thread Andy Colson
On 2/8/2013 10:09 AM, Kevin A. McGrail wrote: On 2/8/2013 11:04 AM, Kevin A. McGrail wrote: On 2/8/2013 11:01 AM, Andy Colson wrote: thought you had typed: >> > /usr/local/perl-5.14/bin/perl build/source_scan.pl Do you have multiple perl's installed? /usr/local/perl-5.14 see

Re: MP and 2.4 Compilation Woes

2013-02-08 Thread Andy Colson
On 2/8/2013 9:55 AM, Kevin A. McGrail wrote: On 2/8/2013 10:48 AM, Andy Colson wrote: On 2/8/2013 9:39 AM, Kevin A. McGrail wrote: Hi All, > /usr/local/perl-5.14/bin/perl build/source_scan.pl Have you tried: make source_scan Yes. That info above is the output from the end of m

Re: MP and 2.4 Compilation Woes

2013-02-08 Thread Andy Colson
On 2/8/2013 9:39 AM, Kevin A. McGrail wrote: Hi All, So picking back up on the thread from the httpd list, I am interested in helping with mod_perl. And I've written some patches for AuthenDBI and can work on those again as well. However, at the moment I can't compile 2.4 and the make source_s

Re: alias command in modperl environment

2012-12-19 Thread Andy Colson
On 12/19/2012 2:40 AM, Feng He wrote: Hello, ServerAdmin x...@yyy.com ServerName example.com PerlModule Apache::DBI PerlPostConfigRequire /path/to/startup.pl SetHandler modperl PerlResponseHandler Handler1

Re: ModPerl::Util::exit: (120000) exit was called at /usr/share/perl5/CGI/Carp.pm line 590

2012-10-31 Thread Andy Colson
On 10/31/2012 11:57 AM, Dave Morgan wrote: Hi All. We moved our software stack to mod-perl2 six months ago and have been steadily cleaning up warnings and such. We have had problems with warning messages from regex's showing up without time information. The following issue appears similar.

Re: handler dir

2012-10-24 Thread Andy Colson
On 10/24/2012 3:31 AM, pangj wrote: Hello, I have setup a handler under the root dir, i.e, http://example.com/ Can I setup another handler under the sub-path of root dir, for example, http://example.com/path/ ? Thank you. Yeah, I believe you can. I have a setup like this, inside a : PerlM

Re: reloading perl modules under heavy load

2012-10-03 Thread Andy Colson
On 10/3/2012 8:45 AM, Jason Aubrey wrote: Hi All, We have modperl application running on 64bit (2 cores), freebsd 8.2, perl 1.14.1, modperl 2.0.5, apache 2.2.21, 24GB of ram and about 5.5k users. Additional system details are below. Under heavy load we are seeing errors of the form Failed

Re: apache2 + mod_perl + Catalyst + Session = Segmentation fault

2012-09-28 Thread Andy Colson
On 09/28/2012 08:07 AM, Stefan Profanter wrote: Hi! Posted this question already on Catalyst Mailing List, but got no answer yet and I think this problem is caused by mod_perl somewhere. I programmed a Catalyst Application which uses mod_perl and apache2 in production mode. The Catalyst App

Re: mod_perl build with perlbrew

2012-09-19 Thread Andy Colson
On 9/19/2012 2:43 PM, bluedome wrote: I'm building mod_perl with a perl built using perlbrew. The build succeeds but make test fails because @INC is not correct. @INC for the perlbrew-built perl is: @INC: /opt/comms/be/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0/x86_64-linux

Re: Error on install of mod_perl2: Cannot load mod_perl.so into server: Symbol not found: _modperl_handler_name

2012-09-10 Thread Andy Colson
On 9/10/2012 10:16 AM, Doug Hunt wrote: Hi Andy: Right. We were working with the mod_perl from subversion. --Doug Humm.. no, that didn't quite work. make test gives me a bunch of stuff like: ulimit -c unlimited; /usr/bin/perl5.16.1 /pub/apps/mod_perl-2.0/t/TEST -bugreport -verbose=0 Not

Re: Error on install of mod_perl2: Cannot load mod_perl.so into server: Symbol not found: _modperl_handler_name

2012-09-10 Thread Andy Colson
x: > > perl 5.16.1 > mod_perl 2.0.8 > apache 2.2.22 > > So I don't think that perl 5.16.X broke all mod_perl builds. > > Regards, > >Doug Hunt > > dh...@ucar.edu > Software Engineer > UCAR - COSMIC, Tel. (303) 497-2611 > > On Mon, 10 Sep 2012, Andy Colson wrote: > 2.0.8? Is that in subversion? I'll check it out and give it a try. -Andy

Re: Error on install of mod_perl2: Cannot load mod_perl.so into server: Symbol not found: _modperl_handler_name

2012-09-10 Thread Andy Colson
On 9/10/2012 7:53 AM, Faith Bazley wrote: Hi, I'm having trouble installing mod_perl-2.0.7 and for the life of me I can't get it to work. I have had no problems installing other modules. From the source directory /usr/local/src, unpack the mod_perl-2.0.7 source, enter the directory and run the

Helping with mod_perl

2012-09-06 Thread Andy Colson
Hi all. I have a production site running mod_perl, and I'd like to make sure mod_perl continues into Apache 2.4. To that end, I'm wondering if there is anything I can do to help. My perl-foo is much stronger than my C-foo, and I have no experience with xs or apache internals. -Andy