Re: FastCGI

2007-02-20 Thread steve
Seriously, that would be great, now all you need is someone to actually work on it... Well, I looked doing it just so I could track down some odd behavior that occurs under FastCGI on rare occasions. The current code would need a few changes to the source: 1. Compile on Apache 2.2 [easy] 2. Ren

Re: MODPYTHON-215 issue?

2007-02-20 Thread Graham Dumpleton
Ville Vähäkainu wrote .. > > Hi, > > I think i've been running in to MODPYTHON-215 in one of my projects. > > Error log looks like: > Traceback (most recent call last): > File "apache.py", line 300, in HandlerDispatch\nresult = object(req) > File "C:/Web server/htdocs/index.py", line 9, in hand

Re: FastCGI

2007-02-20 Thread Garrett Rooney
On 2/20/07, steve <[EMAIL PROTECTED]> wrote: I'm guessing that 2.4 is a while out... but that is good to hear that it will be baseline. Having its own balancer would be a plus as well. I honestly think that a dedicated version of such a thing just for PHP would ease adoption of Apache releases (

Re: FastCGI

2007-02-20 Thread steve
I'm guessing that 2.4 is a while out... but that is good to hear that it will be baseline. Having its own balancer would be a plus as well. I honestly think that a dedicated version of such a thing just for PHP would ease adoption of Apache releases (at least from those whom depend on PHP). I thi

Re: svn commit: r509629 - /httpd/httpd/branches/2.2.x/STATUS

2007-02-20 Thread Brad Nicholes
>>> On 2/20/2007 at 11:32 AM, in message <[EMAIL PROTECTED]>, "Jeff Trawick" <[EMAIL PROTECTED]> wrote: > On 2/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> Author: bnicholes >> Date: Tue Feb 20 08:23:19 2007 >> New Revision: 509629 >> >> URL: http://svn.apache.org/viewvc?view=rev&rev=5096

Re: FastCGI

2007-02-20 Thread Garrett Rooney
On 2/20/07, steve <[EMAIL PROTECTED]> wrote: Is Apache considering including a FastCGI module? Apache includes a CGI module, but not FastCGI. And the FastCGI module that is available does not compile with Apache 2.2 (yes, I know the ways around that). One of the advantages of Lighttpd is that it

Re: determining MPM type from module ?

2007-02-20 Thread Gregory Nicholls
Ah .. thanks .. G. Rainer Jung wrote: To find out, if the MPM uses multiple threads, you can use the query API documented in ap_mpm.h (excerpt for Apache 2.0): #define AP_MPMQ_MAX_DAEMON_USED1 /* Max # of daemons used so far */ #define AP_MPMQ_IS_THREADED2 /* MPM can do thre

FastCGI

2007-02-20 Thread steve
Is Apache considering including a FastCGI module? Apache includes a CGI module, but not FastCGI. And the FastCGI module that is available does not compile with Apache 2.2 (yes, I know the ways around that). One of the advantages of Lighttpd is that it has built-in support for FastCGI, including lo

Re: determining MPM type from module ?

2007-02-20 Thread Rainer Jung
To find out, if the MPM uses multiple threads, you can use the query API documented in ap_mpm.h (excerpt for Apache 2.0): #define AP_MPMQ_MAX_DAEMON_USED1 /* Max # of daemons used so far */ #define AP_MPMQ_IS_THREADED2 /* MPM can do threading */ #define AP_MPMQ_IS_FORKED

Re: Using mod_proxy from another module

2007-02-20 Thread Jim Jagielski
On Feb 20, 2007, at 4:36 AM, Marc Stern wrote: How could we use mod_proxy for outgoing connections from another module ? Is there any simple way ? Is there any standard (I mean documented) way, or would it rely on internals only ? In the latter case, we would have to recode everything whe

Re: svn commit: r509629 - /httpd/httpd/branches/2.2.x/STATUS

2007-02-20 Thread Jeff Trawick
On 2/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Author: bnicholes Date: Tue Feb 20 08:23:19 2007 New Revision: 509629 URL: http://svn.apache.org/viewvc?view=rev&rev=509629 Log: vote Modified: httpd/httpd/branches/2.2.x/STATUS Modified: httpd/httpd/branches/2.2.x/STATUS URL: http:

Re: Change another module's setting

2007-02-20 Thread William A. Rowe, Jr.
Nick Kew wrote: > On Tue, 20 Feb 2007 11:59:59 +0100 > Marc Stern <[EMAIL PROTECTED]> wrote: > >> How is it possible to modify another module's setting, like, for >> instance, the content of a 'SSLDirConfigRec' structure (from mod_ssl) >> from another module ? > > 1. There's no general API for

Re: question about keepalive and child processes (Apache/prefork 2.2.3)

2007-02-20 Thread Aaron Bannert
On Sun, Feb 11, 2007 at 11:14:59AM -0500, Bill Erickson wrote: > I'm developing a Perl module for Apache2, and while I was testing keepalives > on Apache2 (prefork, 2.2.3, default Debian package), I noticed that requests > were being handled by different children, even though they were inside a > s

determining MPM type from module ?

2007-02-20 Thread Gregory Nicholls
Hi, Is there any decent way of determining from inside a module, what mpm is being used ? I have to share some memory between requests, which needs a shared mem segment if we're using processes/kids but I can get away with regular mem if it thread-based or some other single-process mpm.

Re: util_ldap.c use of hardcoded sizelimit on ldap_search_ext_s causing error

2007-02-20 Thread Brad Nicholes
>>> On 2/19/2007 at 9:29 AM, in message <[EMAIL PROTECTED]>, "Jeff Trawick" <[EMAIL PROTECTED]> wrote: > On 2/15/07, David Jones <[EMAIL PROTECTED]> wrote: >> Currently util_ldap.c has a hard coded -1 as the search limit value (meaning >> infinite/no limit) on ldap_search_ext_s() calls. Some platf

MODPYTHON-215 issue?

2007-02-20 Thread Ville V�h�kainu
Hi, I think i've been running in to MODPYTHON-215 in one of my projects. Error log looks like: Traceback (most recent call last): File "apache.py", line 300, in HandlerDispatch\nresult = object(req) File "C:/Web server/htdocs/index.py", line 9, in handler\nresult = hrh.handler(req) Fi

[RFC] Adding UDP support to server

2007-02-20 Thread Issac Goldstand
I'm working on a protocol module for Apache 2.2 and ran into the lack of UDP support in httpd. I'd like to try and remedy the situation in a manner best suited for merging to trunk + backporting where possible. I know that people have asked about it in the past, and if we really want to be "d", w

Re: Change another module's setting

2007-02-20 Thread Nick Kew
On Tue, 20 Feb 2007 11:59:59 +0100 Marc Stern <[EMAIL PROTECTED]> wrote: > How is it possible to modify another module's setting, like, for > instance, the content of a 'SSLDirConfigRec' structure (from mod_ssl) > from another module ? 1. There's no general API for it. 2. But a module may expor

Change another module's setting

2007-02-20 Thread Marc Stern
How is it possible to modify another module's setting, like, for instance, the content of a 'SSLDirConfigRec' structure (from mod_ssl) from another module ? Thanks Marc

Re: Using mod_proxy from another module

2007-02-20 Thread Graham Leggett
On Tue, February 20, 2007 11:36 am, Marc Stern wrote: > How could we use mod_proxy for outgoing connections from another module ? > Is there any simple way ? > Is there any standard (I mean documented) way, or would it rely on > internals only ? In the latter case, we would have to recode everythi

Using mod_proxy from another module

2007-02-20 Thread Marc Stern
How could we use mod_proxy for outgoing connections from another module ? Is there any simple way ? Is there any standard (I mean documented) way, or would it rely on internals only ? In the latter case, we would have to recode everything when mod_proxy changes. Thanks Marc