Re: interaction between mod_substitute and mod_proxy

2010-06-15 Thread Chen Chien-Yu
Hi all, It does work now... Thanks Best regards, honercek http://www.google.com/profiles/honercek On Mon, Jun 14, 2010 at 10:01 PM, Chen Chien-Yu honer...@gmail.com wrote: Hi Eric, Yes, you're right. The behavior I said is within the mod_proxy_connect. I'm a little confused by the proxy

mod_proxy per-directory settings handling

2010-06-15 Thread mike venzke
We've been trying to reconcile various issues in config file Location inheritance in httpd 2.2. In reading the core code, we've determined that Locations truly are read and merged in order, and the most-specific (longest Location strings) should go last. Therefore, we order our Locations in

Re: mod_proxy per-directory settings handling

2010-06-15 Thread Eric Covener
Am I wrong? Is there some other reason why mod_proxy needs to go through the aliases in forward order, maybe related to regex matching? Just convention that the first match is the operative one (which is also why the ! rules have to come before whatever would match them). Could make it

Re: mod_proxy per-directory settings handling

2010-06-15 Thread mike
Ah, I see. Iow, when you have proxypass or proxypassreverse directives in server config, first match wins and per-directory merging works accordingly. However, as in our case, when all proxypassreverse directives are instead within Location tags, and it's always ProxyPassReverse / xxx, I don't

Re: mod_proxy per-directory settings handling

2010-06-15 Thread mike venzke
Anyway, we'll file a bug report later in the week with an example config and proposed solution. As it is now, there's no way to properly use ProxyPassReverse in a directory scope when you use inherited settings in nested Locations with other modules. The Locations need to be in least-specific to

Re: svn commit: r954611 - in /httpd/httpd/trunk: include/ap_mmn.h include/http_config.h include/http_log.h modules/ssl/ssl_engine_io.c modules/ssl/ssl_engine_kernel.c server/log.c server/util_debug.c

2010-06-15 Thread Ruediger Pluem
On 06/14/2010 09:59 PM, s...@apache.org wrote: Author: sf Date: Mon Jun 14 19:59:05 2010 New Revision: 954611 URL: http://svn.apache.org/viewvc?rev=954611view=rev Log: - Introduce ap_log_cserror to allow mod_ssl to associate log messages to different servers than c-base_server. -

Re: external links/webring

2010-06-15 Thread Rainer Jung
On 14.06.2010 21:45, William A. Rowe Jr. wrote: The asf-wide, site-dev team noticed our webring seems horribly dated, just as the ASF list of 'apache resources' was. We should determine how we might provide external/thirdparty links and under what set of criteria. The immediate question is;

Remove User, Group and ScoreBoardFile from mpmt_os2

2010-06-15 Thread Rainer Jung
I want to remove User, Group and ScoreBoardFile from the OS2 MPM. The directives have an empty implementation ignore_cmd() and have only been introduced for consistency with those MPMS which did support it. In trunk User and Group are no longer MPM directives, they moved to mod_unixd, and

RE: Remove User, Group and ScoreBoardFile from mpmt_os2

2010-06-15 Thread Plüm, Rüdiger, VF-Group
-Original Message- From: Rainer Jung Sent: Dienstag, 15. Juni 2010 11:43 To: dev@httpd.apache.org Subject: Remove User, Group and ScoreBoardFile from mpmt_os2 I want to remove User, Group and ScoreBoardFile from the OS2 MPM. The directives have an empty implementation

Re: external links/webring

2010-06-15 Thread Eric Covener
On Tue, Jun 15, 2010 at 1:50 AM, Ruediger Pluem rpl...@apache.org wrote: On 06/14/2010 09:45 PM, William A. Rowe Jr. wrote: The asf-wide, site-dev team noticed our webring seems horribly dated, just as the ASF list of 'apache resources' was.  We should determine how we might provide

Re: svn commit: r954862 - /httpd/httpd/trunk/CHANGES

2010-06-15 Thread Jeff Trawick
On Tue, Jun 15, 2010 at 9:06 AM, rj...@apache.org wrote: Author: rjung Date: Tue Jun 15 13:06:14 2010 New Revision: 954862 URL: http://svn.apache.org/viewvc?rev=954862view=rev Log: Fix obsolete reference to 2.1 in CHANGES. Likely we still have to clean CHANGES from things backported to

MPM default config and conf/extra/httpd-mpm.conf

2010-06-15 Thread Rainer Jung
I noticed, that the values in conf/extra/httpd-mpm.conf in parts differ hugely from the corresponding MPM defaults. IMHO activating conf/extra/httpd-mpm.conf should be safe in the sense that you don't get changed MPM behaviour as long as you don't change the file contents. If we think the

Re: MPM default config and conf/extra/httpd-mpm.conf

2010-06-15 Thread William A. Rowe Jr.
On 6/15/2010 10:36 AM, Rainer Jung wrote: I noticed, that the values in conf/extra/httpd-mpm.conf in parts differ hugely from the corresponding MPM defaults. IMHO activating conf/extra/httpd-mpm.conf should be safe in the sense that you don't get changed MPM behaviour as long as you don't

Re: svn commit: r954862 - /httpd/httpd/trunk/CHANGES

2010-06-15 Thread William A. Rowe Jr.
On 6/15/2010 9:21 AM, Jeff Trawick wrote: attached is a patch to prune 2.3.0 changes which were backported to some 2.2.x release; look reasonable? Looks reasonable, thanks for this effort.

Re: svn commit: r954862 - /httpd/httpd/trunk/CHANGES

2010-06-15 Thread Rainer Jung
On 15.06.2010 16:21, Jeff Trawick wrote: On Tue, Jun 15, 2010 at 9:06 AM,rj...@apache.org wrote: Author: rjung Date: Tue Jun 15 13:06:14 2010 New Revision: 954862 URL: http://svn.apache.org/viewvc?rev=954862view=rev Log: Fix obsolete reference to 2.1 in CHANGES. Likely we still have to clean

Re: MPM default config and conf/extra/httpd-mpm.conf

2010-06-15 Thread Rainer Jung
On 15.06.2010 17:58, William A. Rowe Jr. wrote: On 6/15/2010 10:36 AM, Rainer Jung wrote: I noticed, that the values in conf/extra/httpd-mpm.conf in parts differ hugely from the corresponding MPM defaults. IMHO activating conf/extra/httpd-mpm.conf should be safe in the sense that you don't get

Re: C as config

2010-06-15 Thread Jim Jagielski
On Jun 9, 2010, at 12:08 PM, Akins, Brian wrote: On 6/8/10 7:21 PM, Graham Leggett minf...@sharp.fm wrote: That said, if your server doesn't have work to do, ie you're just a bit-shifter, then a simple async loop will win hands down. We also found that even for resource intensive tasks

Re: C as config

2010-06-15 Thread Jim Jagielski
On Jun 6, 2010, at 2:53 PM, Stefan Fritsch wrote: On Sunday 06 June 2010, Brian Pane wrote: On Sun, Jun 6, 2010 at 5:03 AM, Graham Leggett minf...@sharp.fm wrote: [...] We've also been playing with Varnish, one of the cooler things it does is have the ability to suck up an entire response

Re: MPM default config and conf/extra/httpd-mpm.conf

2010-06-15 Thread William A. Rowe Jr.
On 6/15/2010 11:33 AM, Rainer Jung wrote: Sorry Bill, don't get it here: what do you suggest? Applying the existing values from conf/extra/httpd-mpm.conf to the MPM source code? Just suggesting we don't really need to 'normalize' these first. Discuss the appropriate values on dev@ and commit

Re: svn commit: r954862 - /httpd/httpd/trunk/CHANGES

2010-06-15 Thread Rainer Jung
On 15.06.2010 18:30, Rainer Jung wrote: Sorry for the noise, forget about the second addition, doesn't seem to be the same thing (prepared statements vs. connection pools). @@ -1131,11 +1082,6 @@ Changes with Apache 2.3.0 into the environment with the name AUTHENTICATE_COLUMN. This brings

Re: Change FILE/... buckets to close file descriptor on destruction?

2010-06-15 Thread Stefan Fritsch
On Monday 14 June 2010, William A. Rowe Jr. wrote: On 6/14/2010 4:20 PM, Stefan Fritsch wrote: But I am not sure what introducing a new element in struct apr_bucket_file would mean for ABI compatibility. On the one hand, apr_bucket_file is public, on the other hand, there are functions

Re: svn commit: r954611 - in /httpd/httpd/trunk: include/ap_mmn.h include/http_config.h include/http_log.h modules/ssl/ssl_engine_io.c modules/ssl/ssl_engine_kernel.c server/log.c server/util_debug.c

2010-06-15 Thread Stefan Fritsch
On Tuesday 15 June 2010, Ruediger Pluem wrote: +AP_DECLARE(void) ap_log_cserror_(const char *file, int line, int module_index, + int level, apr_status_t status, + const conn_rec *c, const server_rec *s, +

Re: svn commit: r954862 - /httpd/httpd/trunk/CHANGES

2010-06-15 Thread Jeff Trawick
On Tue, Jun 15, 2010 at 12:52 PM, Rainer Jung rainer.j...@kippdata.de wrote: On 15.06.2010 18:30, Rainer Jung wrote: Sorry for the noise, forget about the second addition, doesn't seem to be the same thing (prepared statements vs. connection pools). @@ -1131,11 +1082,6 @@ Changes with Apache

Re: MPM default config and conf/extra/httpd-mpm.conf

2010-06-15 Thread Igor Galić
- Rainer Jung rainer.j...@kippdata.de wrote: I noticed, that the values in conf/extra/httpd-mpm.conf in parts differ hugely from the corresponding MPM defaults. IMHO activating conf/extra/httpd-mpm.conf should be safe in the sense that you don't get changed MPM behaviour as long as

MPM sizing defaults and config

2010-06-15 Thread Rainer Jung
The default configuration for various MPMs differs from the example configuration file conf/extra/httpd-mpm.conf. Before bringing those two in sync, I want to propose the values we want to use as new defaults as well as for the extras configuration file. Prefork ===conf default

Re: MPM sizing defaults and config

2010-06-15 Thread William A. Rowe Jr.
As a broad general question - why not equivalent number of MaxClients across all MPMs? On 6/15/2010 4:03 PM, Rainer Jung wrote: The default configuration for various MPMs differs from the example configuration file conf/extra/httpd-mpm.conf. Before bringing those two in sync, I want to

Re: MPM default config and conf/extra/httpd-mpm.conf

2010-06-15 Thread Rainer Jung
On 15.06.2010 22:51, Igor Galić wrote: - Rainer Jungrainer.j...@kippdata.de wrote: I noticed, that the values in conf/extra/httpd-mpm.conf in parts differ hugely from the corresponding MPM defaults. IMHO activating conf/extra/httpd-mpm.conf should be safe in the sense that you don't

Re: MPM sizing defaults and config

2010-06-15 Thread Igor Galić
- William A. Rowe Jr. wr...@rowe-clan.net wrote: As a broad general question - why not equivalent number of MaxClients across all MPMs? Because it might come expensive Memory-wise with some MPMs. On 6/15/2010 4:03 PM, Rainer Jung wrote: The default configuration for various MPMs

Re: svn commit: r954862 - /httpd/httpd/trunk/CHANGES

2010-06-15 Thread Graham Leggett
On 15 Jun 2010, at 4:21 PM, Jeff Trawick wrote: trunk CHANGES needs to track fixes/enhancements since the last alpha, so the candidates for pruning would be in the section Changes with Apache 2.3.0. attached is a patch to prune 2.3.0 changes which were backported to some 2.2.x release; look

Re: MPM default config and conf/extra/httpd-mpm.conf

2010-06-15 Thread Igor Galić
I wonder if this thread is wrong enough for the topic: Would it be possible to choose defaults for the MPMs based on the available CPU(core)s and the Memory, rather than just hard coding the values? I doubt it's worth it and that we can make it work nicely. I think we are

Re: MPM sizing defaults and config

2010-06-15 Thread Rainer Jung
On 15.06.2010 23:09, William A. Rowe Jr. wrote: As a broad general question - why not equivalent number of MaxClients across all MPMs? I was uncertain about that. Users often tend to try to fix performance problems by adding concurrency to the web server. If your web server is configured

Re: svn commit: r954862 - /httpd/httpd/trunk/CHANGES

2010-06-15 Thread Rainer Jung
On 15.06.2010 23:20, Graham Leggett wrote: On 15 Jun 2010, at 4:21 PM, Jeff Trawick wrote: trunk CHANGES needs to track fixes/enhancements since the last alpha, so the candidates for pruning would be in the section Changes with Apache 2.3.0. attached is a patch to prune 2.3.0 changes which

Re: MPM sizing defaults and config

2010-06-15 Thread William A. Rowe Jr.
On 6/15/2010 4:20 PM, Igor Galić wrote: Worker/Event conf default proposed StartServers 23 2 MinSpareThreads 25 75 25 MaxSpareThreads 75 250100 MaxClients 150 400400 ThreadsPerChild

Re: MPM default config and conf/extra/httpd-mpm.conf

2010-06-15 Thread William A. Rowe Jr.
On 6/15/2010 4:15 PM, Rainer Jung wrote: On 15.06.2010 22:51, Igor Galić wrote: I wonder if this thread is wrong enough for the topic: Would it be possible to choose defaults for the MPMs based on the available CPU(core)s and the Memory, rather than just hard coding the values? I doubt

Re: MPM sizing defaults and config

2010-06-15 Thread William A. Rowe Jr.
On 6/15/2010 4:42 PM, Rainer Jung wrote: On 15.06.2010 23:09, William A. Rowe Jr. wrote: As a broad general question - why not equivalent number of MaxClients across all MPMs? I was uncertain about that. Users often tend to try to fix performance problems by adding concurrency to the web

Re: MPM sizing defaults and config

2010-06-15 Thread Guenter Knauf
Hi, Am 16.06.2010 00:37, schrieb William A. Rowe Jr.: Netware ===conf default proposed StartThreads250 50 50 MinSpareThreads 25 10 25 MaxSpareThreads 250 100100 MaxThreads 1000 2048 1000

Re: MPM sizing defaults and config

2010-06-15 Thread William A. Rowe Jr.
On 6/15/2010 7:27 PM, Guenter Knauf wrote: Hi, Am 16.06.2010 00:37, schrieb William A. Rowe Jr.: Netware ===conf default proposed StartThreads250 50 50 MinSpareThreads 25 10 25 MaxSpareThreads 250 100100

Re: [VOTE] Release httpd 2.3.6-alpha

2010-06-15 Thread Gregg L. Smith
non-binding Win32 XP/Vista VC6 VC9 Jim Jagielski wrote: +/- 1 [+1] Release httpd-2.3.6 as Alpha Vote closes at 15:00 UTC on Wednesday June 16 2010. APR 1.4.2 APU 1.3.9 APU 1.4.0-dev Every module loads this time (lbmethods did not in 2.3.5 IIRC) SSLCACertificateFile no longer errors for me I'd