Re: Using mod_rewrite in my authorization module. Need advice.

2010-02-04 Thread Kevac Marko
On Thu, Feb 4, 2010 at 10:52 AM, Sorin Manolache sor...@gmail.com wrote: Try to set an apache request note in the authentication instead of dynamically changing the configuration of mod_rewrite.c. Thus, you'll have something like RewriteRule /url %{ENV:destination} The configuration would

Re: Using mod_rewrite in my authorization module. Need advice.

2010-02-04 Thread Kevac Marko
On Thu, Feb 4, 2010 at 2:05 PM, Sorin Manolache sor...@gmail.com wrote: No, you cannot. The expansion does not work in the pattern (the second argument). But the second argument can be a regular expression. Hopefully you can write regexps for all your cases. Unfortunately I cannot. These

Re: svn commit: r905454 - in /httpd/httpd/trunk: include/ap_mmn.h include/http_config.h modules/debugging/mod_dumpio.c server/core.c server/log.c server/main.c

2010-02-04 Thread Jim Jagielski
On Feb 1, 2010, at 6:27 PM, s...@apache.org wrote: -else { -return DumpIOLogLevel requires level keyword: one of - emerg/alert/crit/error/warn/notice/info/debug; -} +err = ap_parse_log_level(str, ptr-loglevel); +if (err != NULL)

RE: Is that a race condition bug?

2010-02-04 Thread Peter Arseneau
OH my. How hard would it be to fix this? If you get a patch, could you tell me? Thanks, Peter Arseneau. -Original Message- From: Tianwei [mailto:tianwei.sh...@gmail.com] Sent: February 4, 2010 2:21 AM To: Kostya Serebryany Cc: dev@httpd.apache.org; Neil Vachharajani Subject: Re: Is

Re: Is that a race condition bug?

2010-02-04 Thread Nick Kew
On Thu, 4 Feb 2010 15:20:54 +0800 Tianwei tianwei.sh...@gmail.com wrote: besides, the following warning indicated that developer already have been aware of the problem and tolerate it: 1. comments in worker.c: a: 896 requests_this_child--; /* FIXME: should be synchronized - aaron

graceful dead

2010-02-04 Thread Ralf Mattes
hello list, just a quick question: is there any Apache api to request from within a module a child process (or thread for that matter) to die? I have a module where returning 500 followed by a suicide seems to be the best way to deal with some error conditions. TIA Ralf Mattes

[PATCH] report reached MaxClients more than once

2010-02-04 Thread Jeff Trawick
See initial patch attached. (30 seconds between reports is just to make testing faster.) Index: server/mpm/worker/worker.c === --- server/mpm/worker/worker.c (revision 906552) +++ server/mpm/worker/worker.c (working copy) @@

Re: [PATCH] report reached MaxClients more than once

2010-02-04 Thread Dan Poirier
Nice. Maybe change count to messages_skipped but that's just a quibble. I wonder where else this would be handy? Dan

Re: clogging filters and async MPMs

2010-02-04 Thread Paul Querna
On Thu, Feb 4, 2010 at 6:14 AM, Bryan McQuade bmcqu...@google.com wrote: Hi, I'm reading through the httpd code and I notice that async MPMs will fall back to sync mode in the presence of clogging input filters (at least I think I've got that right). I understand that mod_ssl is a clogging

Re: [PATCH] report reached MaxClients more than once

2010-02-04 Thread Jeff Trawick
On Thu, Feb 4, 2010 at 1:55 PM, Dan Poirier poir...@pobox.com wrote: Nice.  Maybe change count to messages_skipped but that's just a quibble. There are probably a lot of quibbles with my 20 second API design :) I wonder first if it is acceptable to the group to do without an init call, and

Re: Is that a race condition bug?

2010-02-04 Thread Tianwei
On Fri, Feb 5, 2010 at 12:14 AM, Nick Kew n...@webthing.com wrote: On Thu, 4 Feb 2010 15:20:54 +0800 Tianwei tianwei.sh...@gmail.com wrote: besides, the following warning indicated that developer already have been aware of the problem and tolerate it: 1. comments in worker.c: a: