Re: Apache::Template for modperl 2

2008-06-27 Thread Fred Moyer
Geoffrey Young wrote: Fred Moyer wrote: The port to mod_perl 2 looks straightforward, if I can scrape up some extra tuits this weekend I might take run at that. google should have turned up this: http://www.modperlcookbook.org/~geoff/modules/experimental/Apache-Template-2.00_01.tar.gz Sor

Re: Segfault when connecting during Apache startup with Apache::DBI

2008-06-27 Thread Perrin Harkins
On Fri, Jun 27, 2008 at 5:51 AM, Tobias Kremer <[EMAIL PROTECTED]> wrote: > Now if I could just get rid of those annoying random "Commands out of sync" > and > "Lost connection to MySQL server during query" errors that happen once in a > while ... Those generally mean that you timed out (set MySQ

Re: Apache::Template for modperl 2

2008-06-27 Thread Perrin Harkins
On Fri, Jun 27, 2008 at 3:28 AM, Senthil V <[EMAIL PROTECTED]> wrote: > I am trying to install Apache::Template for Apache 2.2.8. If you look in the archives you'll see that this has been discussed many times. My general advice is to use something more flexible, like CGI::Application with its TT

Re: [MP2]mod_perl and index.html

2008-06-27 Thread titetluc titetluc
Torsten, I created a bug. Bug number is 45297 Thank you very much for your help 2008/6/27, Torsten Foertsch <[EMAIL PROTECTED]>: > > On Fri 27 Jun 2008, titetluc titetluc wrote: > > Would it be rather a wrong httpd configuration: my requi

Re: [MP2]mod_perl and index.html

2008-06-27 Thread titetluc titetluc
2008/6/27, Rolf Schaufelberger <[EMAIL PROTECTED]>: > > Am Donnerstag, 26. Juni 2008 16:36:49 schrieb titetluc titetluc: > > > > > sub set_user { > > > > my ($self, $r) = @_; > > > > Shouldn't that be > > sub set_user :method { > my ($self, $r) = @_; > > When you use $r as second argume

RE: Segfault when connecting during Apache startup with Apache::DBI

2008-06-27 Thread Brian Gaber
On AIX 5.2 I am using Perl 5.8.0, MySQL 5.0.51a, Apache 2.2.28, mod_perl 2.04, DBI 1.604 and DBD 4.0007 and it all works good. --Brian -Original Message- From: Tobias Kremer [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2008 5:51 AM To: modperl@perl.apache.org Subject: Re: Segfault wh

Re: [MP2]mod_perl and index.html

2008-06-27 Thread Rolf Schaufelberger
Am Donnerstag, 26. Juni 2008 16:36:49 schrieb titetluc titetluc: > > > sub set_user { > > >     my ($self, $r) = @_; Shouldn't that be sub set_user :method { my ($self, $r) = @_; When you use $r as second argument ? -- Rolf Schaufelberger

Re: [MP2]mod_perl and index.html

2008-06-27 Thread Torsten Foertsch
On Fri 27 Jun 2008, titetluc titetluc wrote: > Would it be rather a wrong httpd configuration: my requirement is very > common (calling a response handler for an index.html and access the r->user > information). I may misconfigure Apache > > BTW, how can I verify if it is a bug ? Which apache

Re: Segfault when connecting during Apache startup with Apache::DBI

2008-06-27 Thread Tobias Kremer
Quoting Tobias Kremer <[EMAIL PROTECTED]>: > On 25.06.2008, at 20:58, Amiri Barksdale wrote: > > I had big trouble with DBD::mysql 4.007. I didn't get rid of my > > segfault problem running mod_perl 1.31 until I went back to 4.004. > > Thanx. It really looks a lot like my problem: > > http://bugs.

Re: [MP2]mod_perl and index.html

2008-06-27 Thread titetluc titetluc
2008/6/26, Torsten Foertsch <[EMAIL PROTECTED]>: > > On Thu 26 Jun 2008, titetluc titetluc wrote: > > In PerlResponseHandler, $r->main and $r->prev are undefined. I can not > > understand why $r->main AND $r->prev are not defined (intuitively, > $r->prev > > should be defined) > > > I'd expect $r->

Re: Apache::Template for modperl 2

2008-06-27 Thread Fred Moyer
Senthil V wrote: Hi All, I am trying to install Apache::Template for Apache 2.2.8. Whether the porting of Apache::Template is done for modperl 2. If its done, plz let me know from where i can get the source. I just took a look at Apache::Template, and it is only for mod_perl

Apache::Template for modperl 2

2008-06-27 Thread Senthil V
Hi All, I am trying to install Apache::Template for Apache 2.2.8. Whether the porting of Apache::Template is done for modperl 2. If its done, plz let me know from where i can get the source. Thanks in advance, Senthil