Re: Growing Up

2007-04-17 Thread Clinton Gormley
switch to a lightweight proxy + httpd on port 80. i like nginx because its had much fewer critical bugs than lighttpd. others like lighty. either will be fine - they'll free up apache to deal with content generation and you'll see a ginormous performance boost off that . you

RE: Insecure dependency in eval while running setgid error

2007-04-17 Thread Sagar.Shah
Hi Charlie, -Original Message- From: Charlie Katz [mailto:[EMAIL PROTECTED] Sent: 30 March 2007 19:00 To: modperl@perl.apache.org Cc: Perrin Harkins; Shah, Sagar: IT (LDN); [EMAIL PROTECTED]; [EMAIL PROTECTED]; Client Research Development Subject: Re: Insecure dependency in eval

Re: too many connections

2007-04-17 Thread Perrin Harkins
On 4/16/07, Kelvin Wu [EMAIL PROTECTED] wrote: but noticed sometimes cpu usage goes up to 30, and there are 80 httpd... can't even log into mysql because 'too many connections', have to restart apache and mysql. Have you set MaxClients on your mod_perl server to something that won't cause your

Re: Growing Up

2007-04-17 Thread Jonathan Vanasco
On Apr 17, 2007, at 3:55 AM, Clinton Gormley wrote: Must disagree with you about pound http://www.apsis.ch/pound/ index_html being a PITA to configure and maintain. Pound is really easy to configure, fast as all hell, and just never goes down. I've been using it for about 3 years now and

Re: Growing Up

2007-04-17 Thread Perrin Harkins
On 4/17/07, Clinton Gormley [EMAIL PROTECTED] wrote: is it reasonable to serve your static files from a mod_perl server, as long as you have a proxy/pound/squid in front? Yes, but spending no time in mod_perl for a static file is better than spending a little time, and the files will be served

Re: Apache2::AuthenNTLM Failing Authentication from Vista Internet Explorer

2007-04-17 Thread Jens . Heinemann
Hi there, just answering my own question after some weeks ;) I had problems authenticating Windows Vista Internet Explorer clients (wrong password). Now I found the solution in a note on the module's homepage http://modntlm.sourceforge.net/ I quote it here for the archive, basically it says

Re: Growing Up

2007-04-17 Thread Frank Wiles
On Tue, 17 Apr 2007 10:48:57 -0400 Perrin Harkins [EMAIL PROTECTED] wrote: On 4/17/07, Clinton Gormley [EMAIL PROTECTED] wrote: is it reasonable to serve your static files from a mod_perl server, as long as you have a proxy/pound/squid in front? Yes, but spending no time in mod_perl for a

$r-handler and $r-set_handlers on all files

2007-04-17 Thread Sergij Borodych
Hi, I have configuration: apache-2.0.59 mod_perl-2.0.3 Directory /somedir/htdocs PerlAuthzHandler MyModule::authorize and in authorize: if ... $r-handler('perl-script'); $r-set_handlers( (MP2 ? 'PerlResponseHandler' : 'PerlHandler') = \somefunc ); If url is / all ok - authorize

RE: Lock Files - File is permanently locked

2007-04-17 Thread Justin Luster
Just wanted to let you know that I found the problem. I had an error in my code where I was accidentally trying to put a read lock on a file where I had not properly closed the write lock. This condition occurred in error handling code and it was hard to find. Anyway I was happy to learn that

Re: Growing Up

2007-04-17 Thread Rafael Caceres
On Mon, 2007-04-16 at 12:21 -0700, Will Fould wrote: Hi, I have a service that is currently running a basic LAMP stack with mod_perl and life has been good! The site running has been getting very busy and I've ordered a second machine with intention to move the database off that machine

Re: Growing Up

2007-04-17 Thread Perrin Harkins
On 4/17/07, Rafael Caceres [EMAIL PROTECTED] wrote: There is a consideration, regarding using a proxy or a different server, that has not been brought up: If there is mod_perl based access control for the static files, then it's basically impossible not to go through a mod_perl server to serve

[Fwd: CPAN Upload: P/PG/PGOLLUCCI/Apache-Peek-1.07.tar.gz]

2007-04-17 Thread Philip M. Gollucci
The uploaded file Apache-Peek-1.07.tar.gz has entered CPAN as file: $CPAN/authors/id/P/PG/PGOLLUCCI/Apache-Peek-1.07.tar.gz size: 49951 bytes md5: a259e9065eed9f0fcbfcf55cb5affc07 CHANGES: =head 1.07 Tue Apr 17 15:00:55 PDT 2007 - Fix invalid prereq check of mod_perl.pm vs

Authentication Problem

2007-04-17 Thread Scott Gifford
Hello, I'm having trouble with PerlAuthenHandler. The symptom is that in a browser (Firefox at least), I'm prompted for a password the first time I visit a page. If I enter it incorrectly, I'm not prompted again, but instead just see the error page. The cause seems to be that when mod_perl

Re: Authentication Problem

2007-04-17 Thread Scott Gifford
Scott Gifford [EMAIL PROTECTED] writes: [...] The cause seems to be that when mod_perl gets an Authorization header in the request, it doesn't supply a WWW-Authenticate header in the response. Nevermind, found it, the solution was to call: $r-note_basic_auth_failure(); Scott.