Re: about setting r-headers_out

2012-02-29 Thread Sorin Manolache
On 02/29/12 07:52, Rui Hu wrote: hi, I want to set Content-Type and Cache-Control fields in my private module. So I hooked fixups and used apr_table_setn to set r-headers_out but nothing happened. Was it thought through? Thanks for you help! Try to set r-err_headers_out. For content-type

Re: about setting r-headers_out

2012-02-29 Thread Rui Hu
Thanks! I tried to hook handler and it works well. Rui Hu 2012/2/29 Sorin Manolache sor...@gmail.com On 02/29/12 07:52, Rui Hu wrote: hi, I want to set Content-Type and Cache-Control fields in my private module. So I hooked fixups and used apr_table_setn to set r-headers_out but nothing

one problem when calling ap_get_module_config

2012-02-29 Thread Rui Hu
I use r-request_config to store module data as a substitute for global vars. One type_checker_hook function uses ap_get_module_config at its beginning. But what I got is NULL. Strangely, post_read_request_hook function works fine, whose codes is basically the same. Is there any caution in calling

Re: Threads and signals in a module

2012-02-29 Thread Sorin Manolache
On 2012-02-28 22:05, Ben Rockefeller wrote: Hello, I have a module which creates a thread using pthread_create and then registers for SIGRTMIN+4 signal from another process. Problem is I do not see a signal callback when the signal is sent to me. I only see it when I try to kill apache where

Re: one problem when calling ap_get_module_config

2012-02-29 Thread Nick Kew
On 29 Feb 2012, at 10:47, Rui Hu wrote: I use r-request_config to store module data as a substitute for global vars. One type_checker_hook function uses ap_get_module_config at its beginning. But what I got is NULL. Strangely, post_read_request_hook function works fine, whose codes is

Intercepting HTTP 301/302 redirects

2012-02-29 Thread Swaminathan Bhaskar
Hi Is there anyway to intercept HTTP 301/302 redirects ? I tried registering a very simple output filter (AP_FTYPE_RESOURCE) and the filter function did not get a callback. I would assume all output goes through the filter chain Rgds Bhaskar

Re: Intercepting HTTP 301/302 redirects

2012-02-29 Thread Joe Lewis
On 02/29/2012 06:01 PM, Swaminathan Bhaskar wrote: Hi Is there anyway to intercept HTTP 301/302 redirects ? I tried registering a very simple output filter (AP_FTYPE_RESOURCE) and the filter function did not get a callback. I would assume all output goes through the filter chain Rgds

Re: Intercepting HTTP 301/302 redirects

2012-02-29 Thread Swaminathan Bhaskar
Thanks for the quick response Joe. Just to make sure, here is what I did: IfModule mod_myfilter.c Location / SetOutputFilter myfilter /Location /IfModule and the code #include stdio.h #include httpd.h #include http_protocol.h #include http_config.h #include util_filter.h #define

Re: svn commit: r1294936 - in /httpd/httpd/trunk: CHANGES include/mpm_common.h include/scoreboard.h

2012-02-29 Thread Jeff Trawick
On Tue, Feb 28, 2012 at 10:01 PM, William A. Rowe Jr. wr...@rowe-clan.net wrote: On 2/28/2012 8:11 PM, Jeff Trawick wrote: AP_DECLARE_DATA just affects visibility, but the switch to __stdcall for AP_DECLARE() is an API change.  (important, since AIX needs this in 2.4.x) If they weren't

Re: one problem when calling ap_get_module_config

2012-02-29 Thread Rui Hu
thanks! Problem solved. It the problem with internal redirects. 2012/2/29 Nick Kew n...@apache.org On 29 Feb 2012, at 10:47, Rui Hu wrote: I use r-request_config to store module data as a substitute for global vars. One type_checker_hook function uses ap_get_module_config at its

Windows builds available

2012-02-29 Thread Steffen
All Windows builds for 2.2.22 and 2.4.1 Win32 are now in place at http://www.apachelounge.com/download/ Both VC10 and for the time being also VC9 builds, Win64 64 VC10 follows. Btw. No serious 2.4 bug reports received till now, which you do not already know. All runs fine.

Re: Windows builds available

2012-02-29 Thread Issac Goldstand
On 29/02/2012 14:10, Steffen wrote: No serious 2.4 bug reports received till now, which you do not already know. All runs fine. Cool. You refer to reports from users on your forums, I assume? Issac

Re: Windows builds available

2012-02-29 Thread Steffen
Yep and reported directly to me which are primarily companies using/testing the builds. On Wednesday 29/02/2012 at 14:06, Issac Goldstand wrote: On 29/02/2012 14:10, Steffen wrote: No serious 2.4 bug reports received till now, which you do not already know. All

答复: Windows builds available

2012-02-29 Thread Bing Swen
How did you make these builds, particularly those Windows 64 bits Binaries? Can we share the directives, or can your method be integrated into the official release? Bing 发件人: Steffen [mailto:i...@apachelounge.com] 发送时间: 2012年2月29日 21:13 收件人: dev@httpd.apache.org 主题: Re: Windows

Re: 答复: Windows builds available

2012-02-29 Thread Eric Covener
On Wed, Feb 29, 2012 at 8:57 AM, Bing Swen bs...@pku.edu.cn wrote: How did you make these builds, particularly those Windows 64 bits Binaries? Can we share the directives, or can your method be integrated into the official release? The official release is the source code. Binaries are

Re: Proposal: adoption of mod_policy subproject

2012-02-29 Thread André Malo
On Wednesday 29 February 2012 04:11:35 William A. Rowe Jr. wrote: I withdraw this vote, reverting my position to -1, until collaboration and respect for options and insights of fellow committers as well as project decisions and votes can be consistently demonstrated. I always thought, you'd

Re: Proposal: adoption of mod_policy subproject

2012-02-29 Thread William A. Rowe Jr.
On 2/29/2012 8:59 AM, André Malo wrote: On Wednesday 29 February 2012 04:11:35 William A. Rowe Jr. wrote: I withdraw this vote, reverting my position to -1, until collaboration and respect for options and insights of fellow committers as well as project decisions and votes can be consistently

Re: Apache 2.4.1 Throughput compared with nginx

2012-02-29 Thread Jim Jagielski
Why even bother... I simply posted a comment and moved on. On Feb 28, 2012, at 4:32 PM, Bing Swen wrote: Some Nginx people just made a performance test with Apache 2.4.1 at http://blog.zhuzhaoyuan.com/category/c10k/ Were the Event_MPM configuration parameters somewhere close to optimal?

Re: svn commit: r1215525 - in /httpd/httpd/trunk: ./ docs/manual/mod/ docs/manual/programs/ modules/debugging/ support/

2012-02-29 Thread Jim Jagielski
On Feb 28, 2012, at 10:05 PM, William A. Rowe Jr. wrote: You have only three votes for mod_policy... please fix this today, before I withdraw what starts to look like an ill-cast vote for introducing code with dubious support of the community. only three votes??? How many does he

Re: Proposal: adoption of mod_policy subproject

2012-02-29 Thread Jim Jagielski
On Feb 29, 2012, at 10:32 AM, William A. Rowe Jr. wrote: It's the reason why mod_aspdotnet was ejected, and why mod_arm4, mod_ftp and perhaps even mod_fcgid are all on their way out of the project as it is, unless more committers participate in those subprojects. The other way to

Re: Apache 2.4.1 Throughput compared with nginx

2012-02-29 Thread MATSUMOTO Ryosuke
I entirely agree with you on your comment. 2012/3/1 Jim Jagielski j...@jagunet.com: Why even bother... I simply posted a comment and moved on. On Feb 28, 2012, at 4:32 PM, Bing Swen wrote: Some Nginx people just made a performance test with Apache 2.4.1 at

Re: Proposal: adoption of mod_policy subproject

2012-02-29 Thread Igor Galić
+1 - Original Message - On Feb 29, 2012, at 10:32 AM, William A. Rowe Jr. wrote: It's the reason why mod_aspdotnet was ejected, and why mod_arm4, mod_ftp and perhaps even mod_fcgid are all on their way out of the project as it is, unless more committers participate in

Re: svn commit: r1215525 - in /httpd/httpd/trunk: ./ docs/manual/mod/ docs/manual/programs/ modules/debugging/ support/

2012-02-29 Thread William A. Rowe Jr.
On 2/29/2012 9:41 AM, Jim Jagielski wrote: On Feb 28, 2012, at 10:05 PM, William A. Rowe Jr. wrote: You have only three votes for mod_policy... please fix this today, before I withdraw what starts to look like an ill-cast vote for introducing code with dubious support of the community.

Re: Proposal: adoption of mod_policy subproject

2012-02-29 Thread William A. Rowe Jr.
On 2/29/2012 9:45 AM, Jim Jagielski wrote: On Feb 29, 2012, at 10:32 AM, William A. Rowe Jr. wrote: It's the reason why mod_aspdotnet was ejected, and why mod_arm4, mod_ftp and perhaps even mod_fcgid are all on their way out of the project as it is, unless more committers participate in

Technical reasons for -1 votes (?)

2012-02-29 Thread William A. Rowe Jr.
On 2/29/2012 8:59 AM, André Malo wrote: On Wednesday 29 February 2012 04:11:35 William A. Rowe Jr. wrote: I withdraw this vote, reverting my position to -1, until collaboration and respect for options and insights of fellow committers as well as project decisions and votes can be consistently

[RFC] try to solidify feature adoption criteria

2012-02-29 Thread Jeff Trawick
New features are a natural part of the software life-cycle, but they bring with it a greater product surface area to document and support, as well as more technical issues which could detract from other developer activities. For this reason, the httpd project as a whole has a vested interest in

Re: svn commit: r1294380 - in /httpd/httpd/branches/2.2.x: build/aix/ build/aix/README build/aix/aixinfo build/aix/buildaix.ksh build/aix/mkinstallp.ksh config.layout

2012-02-29 Thread Michael Felt
Anyway, ran this live at a customer who is working with AIX5, AIX6 and AIX7. Good news: the package I had built on AIX5, Power5 ran (Syntax test OK) on AIX 7.1 on Power7. Less good news: ./configure did not work using gcc (they had a very old one installed) - embedded apr reported many errors

Checking MPM name

2012-02-29 Thread Massimo Manghi
With the new introduction in 2.3/2.4 of the mpm run time specification modules needing to detect which mpm is actually running cannot rely on the old preprocessor symbols once in mpm.h. I confess I've been unable to find a call to the core which returns the loaded mpm name: the module I'm

Re: Proposal: adoption of mod_policy subproject

2012-02-29 Thread Jim Jagielski
On Feb 29, 2012, at 12:19 PM, William A. Rowe Jr. wrote: On 2/29/2012 9:45 AM, Jim Jagielski wrote: On Feb 29, 2012, at 10:32 AM, William A. Rowe Jr. wrote: It's the reason why mod_aspdotnet was ejected, and why mod_arm4, mod_ftp and perhaps even mod_fcgid are all on their way out of the

Re: Technical reasons for -1 votes (?)

2012-02-29 Thread Jim Jagielski
Wow... As far as I can tell, we have *never* been so tight arsed with anything else: not mod_proxy_html, mod_sed, mod_rewrite, mod_dumpio, mod_substitute, (add your favorite one here)... And especially not with someone who's been a PMC member for as long as Graham has (~10yrs). I reiterate my

Re: Technical reasons for -1 votes (?)

2012-02-29 Thread Roy T. Fielding
On Feb 29, 2012, at 9:42 AM, William A. Rowe Jr. wrote: On 2/29/2012 8:59 AM, André Malo wrote: On Wednesday 29 February 2012 04:11:35 William A. Rowe Jr. wrote: I withdraw this vote, reverting my position to -1, until collaboration and respect for options and insights of fellow committers