RE: [QUESTION] Browser hangs if multiple requests on the same Perlresource (Apache2, modperl2, Win32)

2005-05-19 Thread Pascal . Davoust
Thanks a million, Stas. So it looks that this is either a problem on my config parameters, or maybe that the problem occurs only when running on *Windows* (I'm running Apache2 and modperl2 on WinXP)... Any hint about what could break in this specific situation ? Or known issues with Apache2+modpe

Apache2::Cookie - can't find cookie_clas.al

2005-05-19 Thread Andrew Wyllie
Hi, I'm running the latest version of mod_perl and libapreq (from subversion - all tests pass). I getting an error from Apache2::Cookie when I try to create an Apache2::Cookie::Jar. The Error Message: Can't locate auto/Apache2/Cookie/Jar/cookie_clas.al in @INC (@INC contains: /home/wyllie/dev/A

Re: [ANNOUNCE] mod_perl 2.0.0 (preview!)

2005-05-19 Thread mi cuenta
On 5/14/05, Philippe M. Chiasson <[EMAIL PROTECTED]> wrote: > #* Allright folks, RC6 was released a while ago, and various issues > were resolved. According to our planned schedule, I am releasing > a mod_perl-2.0.0 preview! As before, this is your last chance to > affect the new API, since after 2

Re: Baffling unicode wierdness

2005-05-19 Thread angie ahl
On 5/19/05, Randy Kobes <[EMAIL PROTECTED]> wrote: > On Wed, 18 May 2005, Jay Savage wrote: > > > On 5/18/05, angie ahl <[EMAIL PROTECTED]> wrote: > > > I can confirm that it's happening before the data's gone > > > to the database or anything. I'm getting the params from > > > CGI.pm and then dec

Error: handles can't be shared between threads

2005-05-19 Thread Octavian Rasnita
Hi, I am using mod_perl 2.0.0 under Windows 2000, with perl 5.8.6, Apache 2.0.54, and Apache::DBI version 0.96. I want to create a module that uses DBI.pm for connecting to the MySQL database, then using that module in all other modules that might need a connection. Here is the module I have tr

Is mod_perl installed

2005-05-19 Thread cfaust-dougot
Hey Stas,   I know this has been asked a ton of time and I have read everything on the site to check if MP is installed - my problem now is I have a client who has told me over and over again that mod_perl is installed - every method documented on the site says it is not (string doesn't appear i

Re: Apache2::Cookie - can't find cookie_clas.al

2005-05-19 Thread Joe Schaefer
Andrew Wyllie <[EMAIL PROTECTED]> writes: > my $jar = Apache2::Cookie::Jar->new( $r, VALUE_CLASS => > "Alta::Cookies::Cookie" ); Oops, looks like I b0rked that API in 2.05. Here's the preferred aproach now: my $req = APR::Request::Apache2->handle($r); my $jar = $req->jar; $jar->cook

[mp2] Problem with custom config in Location

2005-05-19 Thread Herve Guillemet
1. Problem Description: A custom apache config directive defined in a together with a PerlResponseHandler makes the request handling crash. httpd.conf contains: PerlLoadModule Xi::TestConf XiTest test SetHandler modperl PerlResponseHandler Xi::Test TestConf.pm: --

setting REMOTE_USER with Apache::AuthCookie for use on a 2nd server through mod_rewrite

2005-05-19 Thread Rafael Caceres
Hi, I need to place an application which requires REMOTE_USER to be set in an external non mod_perl enabled Apache reverse proxy that is called by an internal mod_perl enabled Apache through mod_rewrite. The idea is that a directory in the internal, mod_perl enabled server would have the followin

RE: Is mod_perl installed

2005-05-19 Thread cfaust-dougot
Title: Re: Is mod_perl installed Hey Jay,   Yes, all that is true.. the perl.conf is pulled into the httpd.conf and the first line is loading the mod_perl.so and the file does exist in the modules directory..   So by that your saying that mp2 is OK even though it doesn't appear any of thos

Re: Baffling unicode wierdness

2005-05-19 Thread Markus Wichitill
Just for the record it was the browser passing the form params as Latin unless there was a character that couldn't be represented in Latin. Then it would do as it was told and pass it as utf-8 Can you show either the actual webpage with the form or a simplified test case of it? Because I'm still p

Re: [mp2] Problem with custom config in Location

2005-05-19 Thread Stas Bekman
Herve Guillemet wrote: 1. Problem Description: A custom apache config directive defined in a together with a PerlResponseHandler makes the request handling crash. Herve, have you considered to check the error_log before reporting a problem? Your code is improperly written and the error_log should

Re: Error: handles can't be shared between threads

2005-05-19 Thread Perrin Harkins
On Thursday 19 May 2005 1:47 pm, Octavian Rasnita wrote: > [Thu May 19 20:36:01 2005] [error] DBD::mysql::db prepare failed: handle 2 > is owned by thread 225321c not current thread 17cde94 (handles can't be > shared between threads and your driver may need a CLONE method added) at > e:/web/presa3/

Re: [mp2] Problem with custom config in Location

2005-05-19 Thread Stas Bekman
forgot the attachment. -- __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http:/

Re: Is mod_perl installed

2005-05-19 Thread Stas Bekman
cfaust-dougot wrote: Hey Jay, Yes, all that is true.. the perl.conf is pulled into the httpd.conf and the first line is loading the mod_perl.so and the file does exist in the modules directory.. So by that your saying that mp2 is OK even though it doesn't appear any of those methods to check if

RE: Is mod_perl installed

2005-05-19 Thread cfaust-dougot
Title: Re: Is mod_perl installed Thanks Stas, as always - you da man!!!   -Chris From: Stas Bekman [mailto:[EMAIL PROTECTED]Sent: Thu 5/19/2005 7:18 PMTo: cfaust-dougotCc: [EMAIL PROTECTED]; mod_perlSubject: Re: Is mod_perl installed cfaust-dougot wrote:> Hey Jay,> > Yes, all that

Re: Error: handles can't be shared between threads

2005-05-19 Thread Octavian Rasnita
From: "Perrin Harkins" <[EMAIL PROTECTED]> > On Thursday 19 May 2005 1:47 pm, Octavian Rasnita wrote: > > [Thu May 19 20:36:01 2005] [error] DBD::mysql::db prepare failed: handle 2 > > is owned by thread 225321c not current thread 17cde94 (handles can't be > > shared between threads and your drive

Re: Is mod_perl installed

2005-05-19 Thread Perrin Harkins
On Thursday 19 May 2005 2:49 pm, cfaust-dougot wrote: > The box is RH enterprise and Apache and MP2 were installed via RPM Well, you know that's going to be a problem, right? That RPM is ancient and that version of mod_perl is no longer supported. > So I guess my question is, can it be said wit

Re: Error: handles can't be shared between threads

2005-05-19 Thread Perrin Harkins
On Fri, 2005-05-20 at 04:32 +0300, Octavian Rasnita wrote: > I have put the following lines in a startup.pl file which is included for > all virtualhosts (but I have a single virtual host): > > use Apache::DBI (); > Apache::DBI->connect_on_init('DBI:mysql:database=test', 'root', undef, > {PrintErr

One day in #perl...

2005-05-19 Thread Adam Kennedy
... offer bounties "i will code one task of your choice for as many hours as you code on a task of my choice" voila, no money involved and still a hook But I don't need these idea implemented If I did, I'd do them myself yeah. * CPAN upload: mod_perl-2.0.0 by GOZER whoah whoa! * Alias chan