Re: Should fastcgi be a proxy backend?

2006-03-07 Thread Brian Candler
On Sun, Mar 05, 2006 at 03:06:09PM -0800, Garrett Rooney wrote: First of all, mod_proxy_balancer really assumes that you can make multiple connections to back end fastcgi processes at once. This may be true for some things that speak fastcgi (python programs that use flup to do it sure look

Re: AW: Limiting CGIs in 2.2.0

2006-03-01 Thread Brian Candler
On Wed, Mar 01, 2006 at 10:08:19AM -0500, Eric Covener wrote: Hmmm... the docs explain both a soft limit and a maximum limit, but doesn't describe the difference between the two. The soft/hard limits are a notion held in the underlying ulimit/setrlimit facility. Unrpivileged users can

Re: [PROPOSAL][DISCUSSION] Applying 'AND/OR' logic to the authz providers...

2005-12-22 Thread Brian Candler
On Wed, Dec 21, 2005 at 01:16:53PM -0700, Brad Nicholes wrote: Directory /www/mydocs Authname ... AuthBasicProvider ... ... Require user John RequireAll Require Group admins Require ldap-group cn=mygroup,o=foo RequireOne Require ldap-attribute

Re: What do you want in HTTPD 2.4/3.0/X/GREEN?

2005-12-09 Thread Brian Candler
On Wed, Dec 07, 2005 at 02:52:44PM -0500, Jim Jagielski wrote: Yeah, maybe it's time to re-open this discussion... previously, whenever we thought about adding more functionality to the config file, it was discouraged because it increases the complexity of Apache for something that could more

Re: What do you want in HTTPD 2.4/3.0/X/GREEN?

2005-12-05 Thread Brian Candler
To add my 12 cents, I would like to see the following. (Note that I am speaking from a mainly Apache 1.3 viewpoint; I'm pretty sure the following didn't exist in 2.0 when I looked, but I've not checked whether any of these have made it into 2.2 already) 1. In mod_cgi, an option for the stderr

Re: OT: performance FUD

2005-12-01 Thread Brian Candler
On Wed, Nov 30, 2005 at 02:58:00PM -0600, William A. Rowe, Jr. wrote: fork() is *painfully* slow on the darwin kernel, I haven't tested but can't imagine that threading isn't a huge win here. Explain? One preforked worker process can handle thousands of requests. Apache doesn't have to fork

Re: OT: performance FUD

2005-12-01 Thread Brian Candler
On Thu, Dec 01, 2005 at 04:02:49AM -0600, William A. Rowe, Jr. wrote: I'm referring to shrinking or growing the pool of threads/processes as needed. If worker grows threads as needed, or even has to spawn only one more process to create dozens of threads, this is goodness. But is it a

Re: proposed authz rewrite (was:Re: Suggest renaming mod_authz_host to mod_access_host)

2005-11-27 Thread Brian Candler
On Sat, Nov 26, 2005 at 10:56:23AM -0700, Brad Nicholes wrote: Speaking of authz rewrite, currently the directives 'authtype', 'authname' and 'require' are all implemented in the core module. This just doesn't seem like the right place for them so I am considering moving the directives to

Re: pgp trust for https?

2005-11-09 Thread Brian Candler
On Tue, Nov 08, 2005 at 12:46:18PM +, Nick Kew wrote: On Tuesday 08 November 2005 12:02, Brian Candler wrote: [twice - please don't] Not sure what you mean by that. I probably did a group reply, so you got one copy directly and one via the list. I'm afraid it's impossible to please

Re: Speedup idea (by changing some strcasecmp into memcmp)

2005-11-09 Thread Brian Candler
On Tue, Nov 08, 2005 at 10:45:25PM +0100, Christophe Jaillet wrote: If the idea sounds interesting to you, I can provide a set of patchs that implement this idea. Perhaps it would be better to start with profiling data. If you can demonstrate via profiling that httpd spends a significant

Re: [PATCH] Re: Pluggable mod_log_config

2005-10-07 Thread Brian Candler
On Thu, Oct 06, 2005 at 03:49:10PM -0400, Brian Akins wrote: Colm MacCarthaigh wrote: If httpd writes a complete line, to any kind of a file descriptor, anything beyond that is out of our control and becomes a question of the quality of the piped logger, filesystem or whatever else is on the

Re: svn commit: r293305 - in /httpd/httpd/branches/2.2.x/modules:

2005-10-04 Thread Brian Candler
On Tue, Oct 04, 2005 at 12:12:14PM -0400, Jim Jagielski wrote: Brian Candler wrote: Hmm. Given the example pid = (pid_t)((long)apr_hash_get(script_hash, cgid_req.conn_id, sizeof(cgid_req.conn_id))); then it's no good declaring variable 'pid' to be of type apr_intptr_t rather

%{REQUEST_URI} inconsistency

2005-10-02 Thread Brian Candler
in a CGI environment. However I can live without that, given that it can be simulated using a regular expression as shown above. Regards, Brian Candler.

Re: %{REQUEST_URI} inconsistency

2005-10-02 Thread Brian Candler
On Sun, Oct 02, 2005 at 12:49:07PM +0200, Ruediger Pluem wrote: RewriteRule ^/common-cgi/php_wrapper http://foo.com%{REQUEST_URI} [P] Have you tried RewriteRule ^/common-cgi/php_wrapper http://foo.com%{REQUEST_URI}?%{QUERY_STRING} [P] instead? No, because it wouldn't do what I

ServerRoot in server rec?

2005-09-11 Thread Brian Candler
I wondered if any consideration had been given to making ServerRoot an option which could be overridden per virtual-server (e.g. as a member of struct server_rec)? The particular issue I have is with mass virtual hosting and directives like AuthUserFile in .htaccess files. If you have

Re: HTTP Accept filters on freebsd

2005-07-31 Thread Brian Candler
On Sun, Jul 31, 2005 at 08:58:55AM -0700, Dirk-Willem van Gulik wrote: After struggling for hours - and not 'getting' why my ssl authentication broke :-) would something like the patch below be of use ? All this does is to check if the kernel has support for httpready/dataready filtering.

[PATCH] Race condition with CGI reaping under Solaris

2003-03-18 Thread Brian Candler
whether this is The Right Way[TM] to deal with this problem, but it's certainly made a huge improvement here. Comments gratefully received. If this is the right approach, perhaps one of the main Apache developers would like to produce a tidier patch? Regards, Brian Candler. --- apache_1.3.27/src/main