APR feature detection

2009-04-02 Thread Dave Ingram
Hi guys, Is there any way that my module can detect which APR features are enabled in Apache? It relies on DBD, and if that's not available then my module just segfaults, which isn't very friendly. I'd prefer to give an error message to the user, telling them that DBD is required. Does anyone

Re: APR feature detection

2009-04-02 Thread Sorin Manolache
On Thu, Apr 2, 2009 at 19:45, Dave Ingram d...@dmi.me.uk wrote: Hi guys, Is there any way that my module can detect which APR features are enabled in Apache? It relies on DBD, and if that's not available then my module just segfaults, which isn't very friendly. I'd prefer to give an error

Re: SNI in 2.2.x (Re: Time for 2.2.10?)

2009-04-02 Thread Plüm, Rüdiger, VF-Group
-Ursprüngliche Nachricht- Von: Kaspar Brand Gesendet: Donnerstag, 2. April 2009 07:15 An: dev@httpd.apache.org Betreff: Re: SNI in 2.2.x (Re: Time for 2.2.10?) Plüm, Rüdiger, VF-Group wrote: A question regarding your patch: @@ -427,29 +435,26 @@ int

Re: [idea] web-application security powered by SELinux

2009-04-02 Thread KaiGai Kohei
The attached patch is a proof of the concept. It adds two new hooks and a new module, which allows to launch web-applications with restricted privileges. The two new hooks gives a chance external modules to override ap_process_async_request() and ap_process_request(). The new module

Using unicode host names with Apache.

2009-04-02 Thread Graham Dumpleton
Is Apache capable of hosting sites with a unicode host name? Is it just a matter of listing the IDNA(RFC3490) variant of the name in ServerName or ServerAlias? Is this the only way it can be done or if configuration files are written as UTF-8, could the host name be listed in its UTF-8 form?

Re: Using unicode host names with Apache.

2009-04-02 Thread André Malo
* Graham Dumpleton wrote: Is Apache capable of hosting sites with a unicode host name? Is it just a matter of listing the IDNA(RFC3490) variant of the name in ServerName or ServerAlias? Is this the only way it can be done or if configuration files are written as UTF-8, could the host name

Re: AP_FTYPE_PROTOCOL before AP_FTYPE_CONTENT_SET sometimes in 2.2.10

2009-04-02 Thread Kevac Marko
Fixed. It's because i didn't called ap_remove_output_filter(f). Why should I call this from within filter itself? On Wed, Apr 1, 2009 at 5:48 PM, Kevac Marko ma...@kevac.org wrote: Hello. ap_http_header_filter (AP_FTYPE_PROTOCOL) sometimes executed before my AP_FTYPE_CONTENT_SET filter.

Re: About the order of the processing of the http request

2009-04-02 Thread Xiaobin
Sorin Manolache wrote: On Thu, Apr 2, 2009 at 13:28, Xiaobin xiaobin...@gmail.com wrote: Hi, everyone. I new to modlue developemnt of the Apache http server, and I have googled this question and can't find the answer. Hope you can help me. Thx. I am confused with the order of the

Re: ThreadStackSize quirk on Linux

2009-04-02 Thread Niklas Edmundsson
On Tue, 31 Mar 2009, Eric Covener wrote: I'm finding that when I try to reduce the stack size with ThreadStackSize on recent linux systems, where ulimit -s is NOT unlimited (but very large, 10240K) , ThreadStackSize fails to have any effect (via pmap / ps -eFw). When ulimit -s is unlimited,

Re: About the order of the processing of the http request

2009-04-02 Thread Nick Kew
[sent earlier but seems to be lost in the ether] Xiaobin wrote: But what's the order after the introduction of the filter mechanism? The point about the filters is that they run asynchronously. Data flow through them in a well-defined order (I think the other reply describes that), but you

Re: About the order of the processing of the http request

2009-04-02 Thread Xiaobin
Sorin Manolache wrote: On Thu, Apr 2, 2009 at 15:44, Xiaobin xiaobin...@gmail.com wrote: Sorin Manolache wrote: On Thu, Apr 2, 2009 at 13:28, Xiaobin xiaobin...@gmail.com wrote: Hi, everyone. I new to modlue developemnt of the Apache http server, and I have googled this question

Re: SNI in 2.2.x (Re: Time for 2.2.10?)

2009-04-02 Thread Kaspar Brand
Plüm, Rüdiger, VF-Group wrote: Going through the follow ups the following question remains for me: Where did you address to adjust the SSLCARevocation{File,Path} and SSLOCSP{Enable,DefaultResponder,OverrideResponder} settings in the case of an non SNI client connecting to the non

Re: Untouchable header fields ?

2009-04-02 Thread Colm MacCárthaigh
On Sat, Mar 28, 2009 at 2:27 PM, Paul Querna p...@querna.org wrote: I believe there have been bug reports/requests to allow changing the Server header, but no one has complained about Date: before. Heh, I made it modifiable, and provided a patch iirc , but noone else liked it :-)

Re: Adopting mod_remoteip to modules/metadata/ ?

2009-04-02 Thread William A. Rowe, Jr.
Graham Leggett wrote: William A. Rowe, Jr. wrote: I have essentially finished mod_remoteip at this point and am looking to find out the interest level of adopting this as a core module into trunk (modules/metadata/ appears to be the most appropriate target)? +1. That's two of us; I'm