'prepared statement already exists' bug with postgres & mod_authn_dbd

2007-04-09 Thread Paritosh Shah
I am getting a 'prepared statement "authn_dbd_2" already exists' error while trying to use mod_authn_dbd with postgres ( works fine with mysql ). PostgreSQL 8.2 log: LOG: connection received: host=127.0.0.1 port=38660 LOG: connection authorized: user=root database= ERROR: prepared statemen

Re: Redundant SSL virtual host warnings?

2007-04-09 Thread Flowering Weeds
On 04/08/2007 08:40 PM, Sander Temme wrote: > > On Apr 8, 2007, at 11:24 AM, Henrik Nordstrom wrote: > >> Related to this, in current versions of TLS the client MAY advertise >> which host it is desiring to get connected to which would also require >> this if implemented in Apache mod_ssl. (ser

Re: "one module per task"

2007-04-09 Thread Joe Lewis
Sam Carleton wrote: When Apache sees SetHandler mod_my_cool_app How does it know that mod_my_cool_app is associated with mod_my_cool_app.so? Is it purely from the LoadModule or is there something in the module that I am missing? It doesn't. Simply mod_my_cool_app.so has a function which

Re: ProxyErrorOverride and redirects (PR 39245)

2007-04-09 Thread Jeff Trawick
On 4/5/07, Nick Kew <[EMAIL PROTECTED]> wrote: On Thu, 5 Apr 2007 10:04:19 +0100 Joe Orton <[EMAIL PROTECTED]> wrote: > I agree that the intended behaviour of the original code was > intuitively correct, only >= 400 errors should be overriden, A redirection page is likely to include a redirect

Re: ProxyErrorOverride and redirects (PR 39245)

2007-04-09 Thread Nick Kew
On Mon, 9 Apr 2007 11:08:55 -0400 "Jeff Trawick" <[EMAIL PROTECTED]> wrote: > On 4/5/07, Nick Kew <[EMAIL PROTECTED]> wrote: > > On Thu, 5 Apr 2007 10:04:19 +0100 > > Joe Orton <[EMAIL PROTECTED]> wrote: > > > > > > > I agree that the intended behaviour of the original code was > > > intuitively c

Re: PATCH: support utilities should enable crypt() , current htdbm checks broken

2007-04-09 Thread David Jones
patch for trunk: Index: htdbm.c === --- htdbm.c(revision 526861) +++ htdbm.c(working copy) @@ -69,7 +69,7 @@ #define ALG_APMD5 1 #define ALG_APSHA 2 -#if APR_HAVE_CRYPT_H +#if (!(defined(WIN32) || defined(TPF) || defined(N

Re: PATCH: support utilities should enable crypt() , current htdbm checks broken

2007-04-09 Thread Jeff Trawick
On 4/9/07, David Jones <[EMAIL PROTECTED]> wrote: patch for trunk: thanks; committed I'll propose for backport to 2.2.x shortly.

server side includes

2007-04-09 Thread Sam Carleton
As I sit here on hold, I started thinking about my little apache module again. I recall reading in "Writing Apache Modules in Perl and C" how with Perl it is quick and easy to create a server side include handler, I think that is what it was called. How would one go about doing that in a C modul

Re: server side includes

2007-04-09 Thread Issac Goldstand
You'd probably just use output filters to parse the output stream and add content according to what you find... I don't have a C example, but do have a Perl example (string parsing is just s much more trivial with Perl than C) at http://search.cpan.org/src/ISAAC/Apache-UploadMeter-0.9915/lib/A

mod_cgid and timeout on writing data to daemon from child.

2007-04-09 Thread Graham Dumpleton
In the mod_cgid handler it writes its header block to the daemon process and then cycles between reading request content and writing it to the daemon until the data from HTTP client has been exhausted. Only then does it try and read data back from the daemon. Where it is writing request content t