Re: Apache::DBI and mySQL LAST_INSERT_ID

2008-12-10 Thread Enno
a keepalive session, but it really depends on what you're trying to do. Enno

Re: mod_perl, worker mpm and memory use optimisation

2007-11-05 Thread Enno
in shared memory using memcached or Cache::FastMmap Enno

Re: Linux or FreeBSD?

2006-09-11 Thread Enno
time I touched it was about a decade ago ;) Hope this helps ;) Enno Matias Alejo Garcia wrote: Hi all! I am installing a new web server. I will serve a site developed using Apache 2 / Mod_perl2 / MySQL 5. Would you recommend Linux (Gentoo, kernel 2.6) or FreeBSD? It will be a production

Re: handlers

2006-08-01 Thread Enno
John ORourke wrote: I would strongly recommend using one of the well used frameworks. You can find more info and tutorials from the links on this page: http://perl.apache.org/products/app-server.html How come Catalyst is not on that page? Someone might as well add it. Enno

Re: mod_perl-2.0.2 + apache 2.2.2

2006-05-24 Thread Enno
the same tests failed with apache 2.0.58 + mp 2.0.2, when I compiled it yesterday. also compiled and tested libapreq2 2.0.8-rc2, and those all passed (perl 5.8.7, 2.6.16-gentoo-r6), so +1 from me ;) Enno On Wed, 24 May 2006, Philip M. Gollucci wrote: Jie Gao wrote: t/apache

Re: ORMs under mod_perl

2006-05-18 Thread Enno
On Thu, 18 May 2006, Perrin Harkins wrote: Jonathan wrote: doing some searches online, I found some issues with mod_perl and Class::DBI from about a year ago -- does anyone know if they're still around or if they've been solved? They were solved back then. You do have to override the

Re: POST form hanging at new CGI

2006-05-18 Thread Enno
Let me guess, they are using apache 2.0.55 as proxy... mod_proxy in 2.0.55 has problems with properly delivering chunked encoding. The CGI.pm error sounds very familiar to the one I had with apache 2.0.55 proxy. 2.0.54 and 2.2.2 dont have the chunked encoding prob. Enno On Thu, 18 May 2006

Re: ORMs under mod_perl

2006-05-18 Thread Enno
On Thu, 18 May 2006, Perrin Harkins wrote: Enno wrote: in my experience, Class::DBI is slow and a memory hog, allthough I must admit that those problems might be related to the implementation of the app that uses Class::DBI here, instead of CDBI itself... Of course it's slow compared

Re: POST form hanging at new CGI

2006-05-18 Thread Enno
On Thu, 18 May 2006, Thomas Hilbig wrote: --- Enno [EMAIL PROTECTED] wrote: Let me guess, they are using apache 2.0.55 as proxy... mod_proxy in 2.0.55 has problems with properly delivering chunked encoding. The CGI.pm error sounds very familiar to the one I had with apache

Re: POST form hanging at new CGI

2006-05-18 Thread Enno
to parse, as far as I know. first chunk is sent ok, and then the line breaks, hence the error. but do correct me if I'm wrong ;) on a sidenote, patching apache will help, but thats another problem. someone else posted the link already. Enno

Re: SVN::Client problem under mp2

2006-04-19 Thread Enno
, or with a new modperl2. if anyone had similar problems with this (change effective userid), you might be able to tell me if this is caused by apache or modperl. thanks in advance. Enno On Tue, 18 Apr 2006, Enno wrote: On Tue, 18 Apr 2006, Tom Schindl wrote: Enno wrote: Hey list, I

SVN::Client problem under mp2

2006-04-18 Thread Enno
); } -- anyone know a solution? Thanks in advance ;) Enno PS: I'm running the following: - Apache/2.0.49 (Linux/SuSE) - mod_ssl/2.0.49 - OpenSSL/0.9.7d - mod_python/3.1.3 - Python/2.3.3 - DAV/2 - SVN/1.2.3 - PHP/4.3.4 - mod_perl/2.0.2 - Perl/v5.8.3

Re: SVN::Client problem under mp2

2006-04-18 Thread Enno
No, ofcourse my apache does not have access to /root, it is why I wrote the _simple_prompt provider. It should take care of that. which it does from the cmdline, as I dont even have a ~/.subversion dir on the server in question. Enno On Tue, 18 Apr 2006, Tom Schindl wrote: Has the user your

Re: SVN::Client problem under mp2

2006-04-18 Thread Enno
On Tue, 18 Apr 2006, Tom Schindl wrote: Enno wrote: Hey list, I ran into a nasty problem with SVN::Client under mp2.0.2. I simply want it to connect to an ssl svn server with a specified username and password. When I run the needed code from cmdline, everything works perfect

Re: Database transaction across multiple web requests

2006-03-31 Thread Enno
was under the impression that MySQL would just stop when it finds enough row to satisfy LIMIT, so it wouldn't cache the whole result set. - Perrin MySQL's cache only works for exact query matches, including the values you use for LIMIT. Enno

Re: [OT] modperl vs. Ruby

2006-02-27 Thread Enno
for functionality thats already present in mp2+apreq2. (but I might be wrong) So what I'm gonna do now is benchmark a simple catalyst app versus a pure mp2+apreq2 handler. Will post results back to the list, if anyone is interested. Enno On Sun, 26 Feb 2006, Frank Wiles wrote: On Sun, 26 Feb 2006 22:08:56

Re: Long Running Process - make it a daemon?

2006-01-06 Thread Enno
You may want to look at Apache2::SubProcess. Basically you just need to use POSIX 'setsid' (thats what Proc::Daemon uses too). just dont forget to detach stdin/stdout/stderr, and chdir '/' in the daemonized process to avoid problems. Enno On Fri, 6 Jan 2006, Jens Gassmann wrote: Hi, our

Re: Apache2::Cookies - getting all names

2005-12-26 Thread Enno
). Enno c1 = 'v1', c2 = 'v2', I expect @names to contain ( c1, c2 ), but instead @names contains ( c1, c1=v1, c2, c2=v2 ) The following code has the above problem: my $jar = Apache2::Cookie::Jar-new( $r ); my @names = $jar-cookies; for my $name ( @names ) { my $cookie

Re: Apache::DBI cached connection problem

2005-12-15 Thread Enno
Looks like you're not pinging your database to verify the db-connection. check Apache::DBI manual on how to implement it for Sybase, and how to make Apache::DBI ping. Enno On Thu, 15 Dec 2005, Jeremy Kister wrote: After my sql server goes off line, Apache::DBI consistently fails, even after

RE: [mp2] Env Variable / Oracle config problem

2005-11-19 Thread Enno
Did you try setting the env vars in your modperl startup script? (That solved it for me a few months ago) Enno On Fri, 18 Nov 2005, Steve Duran wrote: Thanks, but it did not work. I tried adding the PerlSetEnv lines before and after this line: LoadModule perl_module modules/mod_perl.so

Re: Apache-DBI

2005-11-08 Thread Enno
you need Apache::DBI 0.96 or higher for mp2 compatibility. from the pod: Apache::DBI version 0.96 and should work under mod_perl 2.0 RC5 and later. See the Changes file for more information. Beware that it has only been tested very lightly. Enno On Tue, 8 Nov 2005, Paul Harrison wrote: p5-DBD

Re: Apache::DBI + mod_perl 2.0.1. Please, help! Cannot get it work!

2005-11-03 Thread Enno
It looks like you're running things under cgi and not perl. It'll help showing the modperl-handler configuration aswell. B. On Wed, 2 Nov 2005, Grigory O. Ptashko wrote: Hello, everybody. I have: FreeBSD 4.7 Apache 2.0.54 mod_perl 2.0.1 Apache::DBI 0.99 (taken from

Re: Apache::DBI + mod_perl 2.0.1. Please, help! Cannot get it work!

2005-11-03 Thread Enno
reminds me not to respond while celebrating weekend with a bit of white widow after 4 days of perl madness and isps not knowing why your line is down. Sorry ;) Enno On Thu, 3 Nov 2005, Philip M. Gollucci wrote: Enno wrote: I don't see ANYTHING in my error_log file EXCEPT: I should have said

Re: setting up virtual hosts

2005-07-13 Thread Enno
as far as I know, that uselib vulnerability has nothing to do with mod_perl. it's a kernel exploit. using a different user wont fix the problem, updating your kernel will. so why not do that? Enno On Tue, 12 Jul 2005, Terrence Brannon wrote: Unfortunately, we have been hit by a [2]uselib

Re: limiting subroutine run time

2005-05-11 Thread Enno
This is not mod_perl related, but take a look at: perldoc -f alarm On Tue, 10 May 2005, Igor Chudov wrote: I am working on a system on algebra.com where anyone could define a math solver for a particular kind of problem. It could be defined either via a custom markup language (not

Re: PERL5LIB vs. httpd.conf

2005-05-02 Thread Enno
Why not just do that in your modperl startup script? use lib '/usr/local/myproject/...'; Enno On Mon, 2 May 2005, Jan Poslusny wrote: Hi modperl gentlemen, I am newbie in this list, but I have some experience with mod_perl. I use apache 1.3 with statically linked mod_perl 1.29 on Fedora