pre_mpm hook, module-created child processes which need to access the scoreboard and config

2004-08-17 Thread Jeff Trawick
a module which creates child processes which access the scoreboard must create that child in the pre_mpm hook, since that is the hook where the scoreboard is created (it must be hooked after the core's pre_mpm hook so that the scoreboard has already been created) but this hook isn't called on grac

Re: pre_mpm hook, module-created child processes which need to access the scoreboard and config

2004-08-17 Thread Jeff Trawick
On Tue, 17 Aug 2004 06:19:48 -0400, Jeff Trawick <[EMAIL PROTECTED]> wrote: > if a module could determine if the server is gracefully restarting, the only way to determine this is to hook the error log and look for the different NOTICE messages issued by MPMs: prefork: Graceful restart requeste

proxy compile warnings

2004-08-17 Thread Geoffrey Young
hi all the attached patch is required for me to get mod_proxy to compile with -Werror. --Geoff Index: modules/proxy/proxy_ftp.c === RCS file: /home/cvs/httpd-2.0/modules/proxy/proxy_ftp.c,v retrieving revision 1.145 diff -u -r1.145 p

Re: FW: [PATCH] fix child reclaim timing

2004-08-17 Thread Noah Arliss
I took a look at the worker and prefork mpms and it seems that make_child registers the just_die function for SIGTERM for child processes. Now just_die does try to do a gracefull shutdown by calling clean_child_exit, but what happens if clean_child_exit gets called twice? Hopefully I'm just readin

Re: Where is the AJP code...

2004-08-17 Thread William A. Rowe, Jr.
At 01:56 AM 8/17/2004, jean-frederic clere wrote: >William A. Rowe, Jr. wrote: >>At 03:58 PM 8/16/2004, Brad Nicholes wrote: >> >>> The addition of the proxy_ajp module to the httpd project presents a >>>build problem. The AJP module code exists in httpd/modules/proxy in the >>>httpd project but t

Proxy Load Balancer

2004-08-17 Thread Nick Kew
I've just looked at the new code - thanks folks. My own interest in proxying is with HTTP backends, both in forward and reverse contexts, and doing so efficiently. Couple of questions: (1) The proxy balancer directives are implemented in mod_proxy.c, not proxy_balancer.c. Was this necessar

Re: proxy compile warnings

2004-08-17 Thread Joe Orton
On Tue, Aug 17, 2004 at 11:48:39AM -0400, Geoffrey Young wrote: > hi all > > the attached patch is required for me to get mod_proxy to compile with -Werror. Thanks Geoff. The only thing I'm not sure of is whether this function should really be deleted or if it's actually intended to be exported:

Re: Proxy Load Balancer

2004-08-17 Thread Graham Leggett
Nick Kew wrote: (1) The proxy balancer directives are implemented in mod_proxy.c, not proxy_balancer.c. Was this necessary? proxy_balancer should in theory provide the algorithm to do the balancing, while the generic directives to specify the members of the cluster could be generically speci

Re: proxy compile warnings

2004-08-17 Thread William A. Rowe, Jr.
At 04:36 PM 8/17/2004, Joe Orton wrote: >On Tue, Aug 17, 2004 at 11:48:39AM -0400, Geoffrey Young wrote: >> hi all >> >> the attached patch is required for me to get mod_proxy to compile with -Werror. > >Thanks Geoff. The only thing I'm not sure of is whether this function >should really be delet

Re: Proxy Load Balancer

2004-08-17 Thread Nick Kew
On Tue, 17 Aug 2004, Graham Leggett wrote: > > (1) The proxy balancer directives are implemented in mod_proxy.c, > > not proxy_balancer.c. Was this necessary? > > proxy_balancer should in theory provide the algorithm to do the > balancing, while the generic directives to specify the members o

Re: proxy compile warnings

2004-08-17 Thread Geoffrey Young
William A. Rowe, Jr. wrote: > At 04:36 PM 8/17/2004, Joe Orton wrote: > >>On Tue, Aug 17, 2004 at 11:48:39AM -0400, Geoffrey Young wrote: >> >>>hi all >>> >>>the attached patch is required for me to get mod_proxy to compile with -Werror. >> >>Thanks Geoff. The only thing I'm not sure of is whet

Re: Proxy Load Balancer

2004-08-17 Thread Graham Leggett
Nick Kew wrote: proxy_balancer should in theory provide the algorithm to do the balancing, while the generic directives to specify the members of the cluster could be generically specified. Indeed. But not all of us have a cluster or want clustering code. A single server with a single backend is

Re: cvs commit: httpd-2.0/modules/aaa NWGNUauthnzldap mod_authnz_ldap.c NWGNUmakefile

2004-08-17 Thread Graham Leggett
[EMAIL PROTECTED] wrote: Re-structure the auth_ldap module to fit the new authentication model. The authnz_ldap module provides an ldap authentication provider and an authorization handler. It implements the authorization "require" values ldap-user, ldap-dn and ldap-group. Extremely cool. > Thi

Re: cvs commit: httpd-2.0/modules/aaa NWGNUauthnzldap mod_authnz_ldap.c NWGNUmakefile

2004-08-17 Thread Brad Nicholes
This is the first attempt to restructure mod_auth_ldap to fit the new authentication model. There are a couple of things to note that I would like some feedback on. 1. The ldap_authn provider and ldap_authz handler exist in the same module. The reason for this is because both handlers depen

Re: cvs commit: httpd-2.0/modules/aaa NWGNUauthnzldap mod_authnz_ldap.c NWGNUmakefile

2004-08-17 Thread Brad Nicholes
>The util_ldap module also needs to be moved out of the experimental >directory (mod_auth*_ldap depends on mod_ldap). This is my next task. Where should it be moved to? I was thinking of creating an ldap directory under modules and putting it there. Or does it make sense for one of the existin

Re: cvs commit: httpd-2.0/modules/aaa NWGNUauthnzldap mod_authnz_ldap.c NWGNUmakefile

2004-08-17 Thread Brad Nicholes
BTW, since I am not a Linux makefile guru, the new authnz_ldap module has not been added to the Linux build scripts. Can somebody make the appropriate changes to the makefiles? Brad Brad Nicholes Senior Software Engineer Novell, Inc., the leading provider of Net business solutions http://www.

Re: cvs commit: httpd-2.0/modules/aaa NWGNUauthnzldap mod_authnz_ldap.c NWGNUmakefile

2004-08-17 Thread Graham Leggett
Brad Nicholes wrote: This is my next task. Where should it be moved to? I was thinking of creating an ldap directory under modules and putting it there. Or does it make sense for one of the existing module directories to be the new home of util_ldap? Not sure if anything else fits - an ldap dire

Re: proxy compile warnings

2004-08-17 Thread Justin Erenkrantz
--On Tuesday, August 17, 2004 4:52 PM -0500 "William A. Rowe, Jr." <[EMAIL PROTECTED]> wrote: I have the same concern... Madhu is gone for about another week, I think you mean Mladen not Madhu. ;-) -- justin

Re: proxy compile warnings

2004-08-17 Thread jean-frederic clere
Geoffrey Young wrote: William A. Rowe, Jr. wrote: At 04:36 PM 8/17/2004, Joe Orton wrote: On Tue, Aug 17, 2004 at 11:48:39AM -0400, Geoffrey Young wrote: hi all the attached patch is required for me to get mod_proxy to compile with -Werror. Thanks Geoff. The only thing I'm not sure of is whether

missing variable in suexec safe list

2004-08-17 Thread Zvi Har'El
Hi, I just noticed that the safe_env_list in suexec.c has one variable name missing: SERVER_SIGNATURE. Here is a tivial patch to add it: --- httpd-2.0.50/support/suexec.c.~20040209205949~ 2004-02-09 22:59:49.0 +0200 +++ httpd-2.0.50/support/suexec.c 2004-08-18 09:46:51.00