How to return an error code/page from output filter?

2008-12-09 Thread John Zhang
When I encounter certain error conditions in my output filter, I would like to return a specific error code/page (eg 503 - service not available). However, the following code results in a 500 beeing returned to the browser: apr_status_t my_out_filter(ap_filter_t *f, apr_bucket_brigade *bb) {

Re: How to return an error code/page from output filter?

2008-12-09 Thread Subra Aswathanarayanan
Try this: apr_status_t my_out_filter(ap_filter_t *f, apr_bucket_brigade *bb) { if (I_should_return_503) { ap_remove_output_filter(f); f-r-status = HTTP_SERVICE_UNAVAILABLE; return HTTP_OK; } } On Tue, Dec 9, 2008 at 4:25 PM, John Zhang [EMAIL

Load memory dyanamically using handler.

2008-12-09 Thread Jayasingh Samuel
I have 100's of files stored in different directories and i load all these in the memory in arrays and hash table. and i want to reload the memory automatically using some handlers. When i do this in only the particular child thread is having the updated one and the other request are showing

Re: [VOTE] Release Apache HTTP server 2.3.0-alpha

2008-12-09 Thread Ruediger Pluem
On 12/09/2008 01:16 AM, Paul Querna wrote: Paul Querna wrote: Paul Querna wrote: The problem with velocity's site is an interaction between mod_deflate, mod_include, subrequests and directory indexes. In production, we are still running 2.3.0-alpha, but I have disabled mod_deflate, which

Authz directives

2008-12-09 Thread Roy T. Fielding
I am a little frustrated by the changes to authorization since 2.2. I don't understand why they were needed in the first place, nor why we need two different but equally incomprehensible ways to configure the same things. I totally understand the desire to make the implementation more modular

Re: OCSP Stapling support for mod_ssl

2008-12-09 Thread Joe Orton
On Thu, Dec 04, 2008 at 12:13:52PM +, Dr Stephen Henson wrote: At Joe's request I've posted the last comment here. It is in reference to bug #43822 which is OCSP Stapling support for mod_ssl: Thanks for posting. ... The mutex code has been removed and some dummy functions to replace them

Re: [VOTE] Release Apache HTTP server 2.2.11

2008-12-09 Thread Ruediger Pluem
On 12/06/2008 05:30 PM, Ruediger Pluem wrote: Test tarballs for Apache httpd 2.2.11 are available at: http://httpd.apache.org/dev/dist/ Your votes please; +/-1 [ ] Release httpd-2.2.11 as GA Summarizing the vote so far it looks quite promising. It would be cool if we would

Re: [VOTE] Release Apache HTTP server 2.3.0-alpha

2008-12-09 Thread Jim Jagielski
On Dec 8, 2008, at 7:43 PM, William A. Rowe, Jr. wrote: Paul Querna wrote: The change fixed velocity.apache.org, but broke www.apache.org. All of this sub-request + output filter stuff started in r620133 kinda needs some more thought. My thought is that fast_internal_subrequest (which

Re: [VOTE] Release Apache HTTP server 2.3.0-alpha

2008-12-09 Thread Ruediger Pluem
On 12/09/2008 02:06 PM, Jim Jagielski wrote: On Dec 8, 2008, at 7:43 PM, William A. Rowe, Jr. wrote: Paul Querna wrote: The change fixed velocity.apache.org, but broke www.apache.org. All of this sub-request + output filter stuff started in r620133 kinda needs some more thought. My

Re: [VOTE] Release Apache HTTP server 2.2.11

2008-12-09 Thread Jim Jagielski
On Dec 6, 2008, at 11:30 AM, Ruediger Pluem wrote: Test tarballs for Apache httpd 2.2.11 are available at: http://httpd.apache.org/dev/dist/ Your votes please; +/-1 [ ] Release httpd-2.2.11 as GA +1 on Solaris 10/sparc SunOS sunsys 5.10 Generic_127127-11 sun4u sparc

Re: [VOTE] Release Apache HTTP server 2.2.11

2008-12-09 Thread William A. Rowe, Jr.
Ruediger Pluem wrote: Summarizing the vote so far it looks quite promising. It would be cool if we would have a Windows source bundle to give the Windows guys a chance to test. Are there any scripts that can be used to prepare this? If not can Bill (sorry you are the first one that comes to

Re: [VOTE] Release Apache HTTP server 2.3.0-alpha

2008-12-09 Thread Paul Querna
Ruediger Pluem wrote: On 12/09/2008 02:06 PM, Jim Jagielski wrote: On Dec 8, 2008, at 7:43 PM, William A. Rowe, Jr. wrote: Paul Querna wrote: The change fixed velocity.apache.org, but broke www.apache.org. All of this sub-request + output filter stuff started in r620133 kinda needs some

Re: [VOTE] Release Apache HTTP server 2.3.0-alpha

2008-12-09 Thread Jim Jagielski
On Dec 9, 2008, at 12:15 PM, Paul Querna wrote: Ruediger Pluem wrote: On 12/09/2008 02:06 PM, Jim Jagielski wrote: On Dec 8, 2008, at 7:43 PM, William A. Rowe, Jr. wrote: Paul Querna wrote: The change fixed velocity.apache.org, but broke www.apache.org. All of this sub-request + output

Re: svn commit: r724745 - in /httpd/httpd/trunk: include/ap_socache.h modules/ssl/ssl_scache.c

2008-12-09 Thread Chris Darroch
Joe Orton wrote: * include/ap_socache.h: Use C++ safety wrappers, and rename -delete to -remove since the former is a C++ reserved word. Thanks again for the socache refactoring! I've been trying to keep these two modules up-to-date with both the socache stuff and Apache ZooKeeper

Re: Authz directives

2008-12-09 Thread Chris Darroch
Roy T. Fielding wrote: I totally understand the desire to make the implementation more modular and to make a more sensible Satisfy logic, but I don't understand the need for Match (as opposed to just extending Require) and the odd changes in defaults (multiple Require defaults to MatchAny

mod_fcgid incubation?

2008-12-09 Thread Chris Darroch
Hi -- As Paul Querna noted recently, some folks are using mod_fcgid these days instead of mod_fastcgi, in part because it was (I believe) the first of the two to work with httpd 2.2. Unfortunately, the original developer of mod_fcgid, Pan Qingfeng, has largely moved on to other things. He

Re: Authz directives

2008-12-09 Thread Chris Darroch
Hi -- This is all fairly simple, I think, especially if MatchNotAny/RequireNone is removed as well so that Require retains its apparent meaning everywhere. See if the patch below meets your expectations; if so, I'll commit it and update the docs. Sorry, here's a slightly updated one

Re: [VOTE] Release Apache HTTP server 2.2.11

2008-12-09 Thread Gregg L. Smith
+1 vanilla on 2000, XP and Vista I have details but cannot get that mail through at the moment so I'll break it into pieces, if that's ok. Gregg

Re: [VOTE] Release Apache HTTP server 2.3.0-alpha

2008-12-09 Thread Ruediger Pluem
On 12/09/2008 07:23 PM, Jim Jagielski wrote: On Dec 9, 2008, at 12:15 PM, Paul Querna wrote: Ruediger Pluem wrote: On 12/09/2008 02:06 PM, Jim Jagielski wrote: On Dec 8, 2008, at 7:43 PM, William A. Rowe, Jr. wrote: Paul Querna wrote: The change fixed velocity.apache.org, but broke

Re: mod_fcgid incubation?

2008-12-09 Thread Jim Jagielski
On Dec 9, 2008, at 1:30 PM, Chris Darroch wrote: One key question I have (jumping ahead a little) is whether everyone who has contributed a patch to the project needs to contacted and a signed contributor agreement recovered from them. If not, then I would think that we'd just need a CLA

Re: mod_fcgid incubation?

2008-12-09 Thread William A. Rowe, Jr.
Jim Jagielski wrote: On Dec 9, 2008, at 1:30 PM, Chris Darroch wrote: One key question I have (jumping ahead a little) is whether everyone who has contributed a patch to the project needs to contacted and a signed contributor agreement recovered from them. If not, then I would think that

Re: mod_fcgid incubation?

2008-12-09 Thread William A. Rowe, Jr.
William A. Rowe, Jr. wrote: If the *original* code dates to Open Market's implementation, we need to use some caution. The original license was very restrictive. The current mod_fastcgi license is much less restrictive; Open Market permits you to use, copy, modify, distribute, and

Re: mod_fcgid incubation?

2008-12-09 Thread Paul Querna
William A. Rowe, Jr. wrote: Jim Jagielski wrote: On Dec 9, 2008, at 1:30 PM, Chris Darroch wrote: One key question I have (jumping ahead a little) is whether everyone who has contributed a patch to the project needs to contacted and a signed contributor agreement recovered from them. If not,

Re: [VOTE] Release Apache HTTP server 2.3.0-alpha

2008-12-09 Thread Jim Jagielski
On Dec 9, 2008, at 2:39 PM, Ruediger Pluem wrote: On 12/09/2008 07:23 PM, Jim Jagielski wrote: On Dec 9, 2008, at 12:15 PM, Paul Querna wrote: Ruediger Pluem wrote: On 12/09/2008 02:06 PM, Jim Jagielski wrote: On Dec 8, 2008, at 7:43 PM, William A. Rowe, Jr. wrote: Paul Querna wrote:

Re: mod_fcgid incubation?

2008-12-09 Thread Max Dittrich
Hi, Chris Darroch wrote: Hi -- As Paul Querna noted recently, some folks are using mod_fcgid these days instead of mod_fastcgi, in part because it was (I believe) the first of the two to work with httpd 2.2. Unfortunately, the original developer of mod_fcgid, Pan Qingfeng, has largely

Re: mod_fcgid incubation?

2008-12-09 Thread Chris Darroch
William A. Rowe, Jr. wrote: The mod_fastcgi implementation has the following terms; Open Market permits you to use, copy, modify, distribute, and license this Software and the Documentation solely for the purpose of implementing the FastCGI specification defined by Open Market or

Re: mod_fcgid incubation?

2008-12-09 Thread William A. Rowe, Jr.
Chris Darroch wrote: William A. Rowe, Jr. wrote: The mod_fastcgi implementation has the following terms; Open Market permits you to use, copy, modify, distribute, and license this Software and the Documentation solely for the purpose of implementing the FastCGI specification defined

Re: mod_fcgid incubation?

2008-12-09 Thread Nick Kew
On Tue, 09 Dec 2008 10:30:54 -0800 Chris Darroch [EMAIL PROTECTED] wrote: He and I have been in touch lately about long-term maintenance of mod_fcgid. (We've helped by a colleague of mine who can translate fluently between Chinese and English, although Pan Qingfeng's English is quite good

Re: mod_fcgid incubation?

2008-12-09 Thread Nick Kew
On Tue, 9 Dec 2008 21:56:43 + Nick Kew [EMAIL PROTECTED] wrote: Does anyone have a complete list of people who have made nontrivial contributions, such that their IP might be affected? Ignore that - I meant to chop those lines when I read (as opposed to skimmed) the following paragraphs.

Re: [VOTE] Release Apache HTTP server 2.3.0-alpha

2008-12-09 Thread Plüm, Rüdiger, VF-Group
-Ursprüngliche Nachricht- Von: Jim Jagielski Gesendet: Dienstag, 9. Dezember 2008 21:54 An: dev@httpd.apache.org Betreff: Re: [VOTE] Release Apache HTTP server 2.3.0-alpha On Dec 9, 2008, at 2:39 PM, Ruediger Pluem wrote: On 12/09/2008 07:23 PM, Jim Jagielski wrote:

Re: [VOTE] Release Apache HTTP server 2.3.0-alpha

2008-12-09 Thread William A. Rowe, Jr.
Henning Schmiedehausen wrote: [... to the thread as a whole, not specifically to Jim's mail ...] Let's just say, I usually run alpha-level code in a sandbox for a while to find problems, We could use it e.g. on people.a.o or maybe httpd.a.o if you are so keen on it. :-) Sorry this seems to

Re: [VOTE] Release Apache HTTP server 2.2.11

2008-12-09 Thread William A. Rowe, Jr.
Ruediger Pluem wrote: Test tarballs for Apache httpd 2.2.11 are available at: http://httpd.apache.org/dev/dist/ Your votes please; +/-1 [ ] Release httpd-2.2.11 as GA +1 here, a flawless build. -win32-src, .msi's and -symbols are all in /dev/dist waiting to catch up with the

Re: [VOTE] Release Apache HTTP server 2.2.11

2008-12-09 Thread Ruediger Pluem
On 12/10/2008 08:34 AM, William A. Rowe, Jr. wrote: Ruediger Pluem wrote: Test tarballs for Apache httpd 2.2.11 are available at: http://httpd.apache.org/dev/dist/ Your votes please; +/-1 [ ] Release httpd-2.2.11 as GA +1 here, a flawless build. -win32-src, .msi's and

Re: [VOTE] Release Apache HTTP server 2.3.0-alpha

2008-12-09 Thread William A. Rowe, Jr.
Paul Querna wrote: Gregg L. Smith wrote: Paul Querna wrote: Test tarballs for Apache httpd 2.3.0-alpha are available at: http://httpd.apache.org/dev/dist/ Your votes please; ±1 [ ] Release httpd-2.3.0 as Alpha Vote closes at 7:00 UTC on Tuesday December 9 2008. Thanks,