RE: rewrite before caching?

2009-03-20 Thread Houser, Rick
Is there a reason you can't just change your rewrite rule to a [R=301]? Thanks, Rick Houser Auto-Owners Insurance Systems Support (517)703-2580 -Original Message- From: Anthony J. Biacco [mailto:abia...@formatdynamics.com] Sent: Thursday, March 19, 2009 4:53 PM To:

RE: rewrite before caching?

2009-03-20 Thread Anthony J. Biacco
Yeah, it would create twice the number of requests to my server. One for the initial hit and the other for the redirect. If it was a small % of my hits, I wouldn't care, but this url is about 90% of my web server hits. -Tony --- Manager, IT Operations Format Dynamics, Inc.

MaxClients reached message can be premature

2009-03-20 Thread Dan Poirier
httpd issues the message server reached MaxClients setting, consider raising the MaxClients setting as soon as the number of spare threads drops below MinSpareThreads. In a pathological case where MinSpareThreads is high, the number of threads actually in use might be nowhere near MaxClients.

Re: MaxClients reached message can be premature

2009-03-20 Thread Dan Poirier
Sorry, my email client mangled that patch. Trying another one: Index: server/mpm/worker/worker.c === --- server/mpm/worker/worker.c (revision 756126) +++ server/mpm/worker/worker.c (working copy) @@ -1509,15 +1509,27 @@

Re: test framework/mod_authany's check user id hook vs. mod_ssl's

2009-03-20 Thread Jeff Trawick
On Thu, Mar 19, 2009 at 4:36 PM, Jeff Trawick traw...@gmail.com wrote: assert(Whatever is done in mod_ssl, the 2.3 logic in mod_authany needs to ensure that its check user id hook runs after mod_ssl's.) I'm going with this code in mod_authany for Apache 2.0/2.2 as soon as it checks out okay on

Re: test framework/mod_authany's check user id hook vs. mod_ssl's

2009-03-20 Thread Oden Eriksson
torsdag 19 mars 2009 21:36:42 skrev Jeff Trawick: [...] I keep getting: t/modules/include...ok 46/88# Failed test 67 in t/modules/include.t at line 396 On Mandriva Linux (cooker) -- Regards // Oden Eriksson This email has been processed by SmoothZap -

Re: test framework/mod_authany's check user id hook vs. mod_ssl's

2009-03-20 Thread Jeff Trawick
2009/3/20 Oden Eriksson oden.eriks...@envitory.se torsdag 19 mars 2009 21:36:42 skrev Jeff Trawick: [...] I keep getting: t/modules/include...ok 46/88# Failed test 67 in t/modules/include.t at line 396 On Mandriva Linux (cooker) AFAICT, that observation is completely

Re: test framework/mod_authany's check user id hook vs. mod_ssl's

2009-03-20 Thread Plüm, Rüdiger, VF-Group
-Ursprüngliche Nachricht- Von: Oden Eriksson Gesendet: Freitag, 20. März 2009 16:53 An: dev@httpd.apache.org Betreff: Re: test framework/mod_authany's check user id hook vs. mod_ssl's torsdag 19 mars 2009 21:36:42 skrev Jeff Trawick: [...] I keep getting:

Re: test framework/mod_authany's check user id hook vs. mod_ssl's

2009-03-20 Thread Joe Orton
On Thu, Mar 19, 2009 at 04:36:42PM -0400, Jeff Trawick wrote: Beyond the mod_authany question, why doesn't mod_ssl declare its check user id hook really-first if it can generate the basic auth? (Let the extremely limited number of modules which generate basic auth headers fight it out via

Re: test framework/mod_authany's check user id hook vs. mod_ssl's

2009-03-20 Thread William A. Rowe, Jr.
Joe Orton wrote: On Thu, Mar 19, 2009 at 04:36:42PM -0400, Jeff Trawick wrote: Beyond the mod_authany question, why doesn't mod_ssl declare its check user id hook really-first if it can generate the basic auth? (Let the extremely limited number of modules which generate basic auth headers

Re: change in AP_INIT_TAKE1

2009-03-20 Thread Ryan Deemer
Hi guys, Anybody come across this before? Thanks Ryan. On Thu, Mar 19, 2009 at 5:02 PM, Ryan Deemer ryan.dee...@gmail.com wrote: Hi all, I am porting my custom module from apache 2.0 module to 2.2.11 using gcc-3.4.6 and get the following warning in the usage of AP_INIT_TAKE1.

Re: change in AP_INIT_TAKE1

2009-03-20 Thread Jeff Trawick
On Fri, Mar 20, 2009 at 2:04 PM, Ryan Deemer ryan.dee...@gmail.com wrote: Hi guys, Anybody come across this before? dunno are you sure the types of the arguments to AP_INIT_TAKEx are correct? If you build httpd yourself, did the compilation of the bundled modules spew the same warnings?

Re: test framework/mod_authany's check user id hook vs. mod_ssl's

2009-03-20 Thread Oden Eriksson
fredag 20 mars 2009 17:09:43 skrev Plüm, Rüdiger, VF-Group: -Ursprüngliche Nachricht- Von: Oden Eriksson Gesendet: Freitag, 20. März 2009 16:53 An: dev@httpd.apache.org Betreff: Re: test framework/mod_authany's check user id hook vs. mod_ssl's torsdag 19 mars 2009 21:36:42

Re: change in AP_INIT_TAKE1

2009-03-20 Thread Nick Kew
On Thu, 19 Mar 2009 17:02:32 -0400 Ryan Deemer ryan.dee...@gmail.com wrote: Hi all, I am porting my custom module from apache 2.0 module to 2.2.11 using gcc-3.4.6 and get the following warning in the usage of AP_INIT_TAKE1. mod_reversal.c:786: warning: initialization from incompatible

mod_include supporting POST subrequests

2009-03-20 Thread Torsten Foertsch
Hi, I need the include virtual directive to be able to issue POST requests. It should pass the request body to the subrequest. So I came up with the attached patch. It allows to write !--#include method=post virtual=... -- or !--#include method=inherit virtual=... -- I think the patch is

Re: mod_include supporting POST subrequests

2009-03-20 Thread Graham Leggett
Torsten Foertsch wrote: I need the include virtual directive to be able to issue POST requests. It should pass the request body to the subrequest. So I came up with the attached patch. It allows to write !--#include method=post virtual=... -- or !--#include method=inherit virtual=... --

Re: mod_include supporting POST subrequests

2009-03-20 Thread Nick Kew
On Fri, 20 Mar 2009 20:17:08 +0100 Torsten Foertsch torsten.foert...@gmx.net wrote: I need the include virtual directive to be able to issue POST requests. It should pass the request body to the subrequest. So I came up with the attached patch. Did you mean to attach something? It allows to