ap_custom_response content type 'text/xml'

2008-06-26 Thread Kiffin Gish
Hi there. In order to reply with my own xml error, I want to use ap_custom_response(r, HTTP_INTERNAL_SERVER_ERROR, xml); However, default content type is text/html. If I try to change it by using ap_set_content_type(r, text/xml), this has no effect. Is there anyone out there who can help me?

Re: [VOTE] initial release of httpd-mod_ftp-0.9.0^H2

2008-06-26 Thread William A. Rowe, Jr.
Takashi Sato wrote: ftp_commands.c: In function 'ftp_cmd_pbsz': ftp_commands.c:1706: warning: comparison is always false due to limited range of data type If 'arg' is 2147483647 on the sizeof(int) == 4 == sizeof(long) system, fc-pbsz == LONG_MAX. But on the sizeof(int) == 4 sizeof(long)

Re: [VOTE] initial release of httpd-mod_ftp-0.9.0

2008-06-26 Thread William A. Rowe, Jr.
William A. Rowe, Jr. wrote: review, take it for a spin, and cast your choice [X] +1 to release as 0.9.2-alpha My vote, of course. Going to declare this vote done tomorrow night and rm the candidates if it fails. Caught up with Jorge, his vhost confusion stemmed from old docs (long ago

Re: ap_custom_response content type 'text/xml'

2008-06-26 Thread Jeff Trawick
On Thu, Jun 26, 2008 at 3:33 AM, Kiffin Gish [EMAIL PROTECTED] wrote: In order to reply with my own xml error, I want to use ap_custom_response(r, HTTP_INTERNAL_SERVER_ERROR, xml); However, default content type is text/html. If I try to change it by using ap_set_content_type(r, text/xml),

Re: ap_custom_response content type 'text/xml'

2008-06-26 Thread Kiffin Gish
What do you mean by a special uri space? You're not referring to something like a separate cgi-script are you? That's exactly what I was trying top get away from by implementing ap_custom_response() in the first place... On Thu, 2008-06-26 at 06:56 -0400, Jeff Trawick wrote: On Thu, Jun 26,

Re: ap_custom_response content type 'text/xml'

2008-06-26 Thread Brian J. France
On Jun 26, 2008, at 3:33 AM, Kiffin Gish wrote: In order to reply with my own xml error, I want to use ap_custom_response(r, HTTP_INTERNAL_SERVER_ERROR, xml); However, default content type is text/html. If I try to change it by using ap_set_content_type(r, text/xml), this has no effect. Is

Re: ap_custom_response content type 'text/xml'

2008-06-26 Thread Jeff Trawick
On Thu, Jun 26, 2008 at 8:30 AM, Kiffin Gish [EMAIL PROTECTED] wrote: What do you mean by a special uri space? You're not referring to something like a separate cgi-script are you? That's exactly what I was trying top get away from by implementing ap_custom_response() in the first place...

Re: ap_custom_response content type 'text/xml'

2008-06-26 Thread Kiffin Gish
Thanks Brian, I've tried what you suggested but it doesn't seem to work. Could you be more specific? Here's what I've tried: void register_hooks(apr_pool_t *p) { ap_hook_translate_name(hook_translate_name, NULL, NULL, APR_HOOK_REALLY_FIRST); ap_hook_pre_connection(hook_pre_connection,

Re: ap_custom_response content type 'text/xml'

2008-06-26 Thread Brian J. France
On Jun 26, 2008, at 9:48 AM, Kiffin Gish wrote: Thanks Brian, I've tried what you suggested but it doesn't seem to work. Could you be more specific? Here's what I've tried: void register_hooks(apr_pool_t *p) { ap_hook_translate_name(hook_translate_name, NULL, NULL,

Re: ap_custom_response content type 'text/xml'

2008-06-26 Thread Plüm, Rüdiger, VF-Group
-Ursprüngliche Nachricht- Von: Brian J. France Gesendet: Donnerstag, 26. Juni 2008 16:29 An: dev@httpd.apache.org Betreff: Re: ap_custom_response content type 'text/xml' On Jun 26, 2008, at 9:48 AM, Kiffin Gish wrote: Thanks Brian, I've tried what you suggested but it

Re: SNI in 2.2.9? (Re: 2.2.9 status)

2008-06-26 Thread Kaspar Brand
On Mon, Jun 18, 2008 at 05:27:17PM +0200, I wrote: So, to support non-SNI clients as far as possible, let me propose the attached (additional) patch. It corrects the shortcomings of my earlier attempt (no longer changing dc-nVerify{Client,Depth} in-place), and includes the changes to support

Re: ap_custom_response content type 'text/xml'

2008-06-26 Thread Kiffin Gish
Don't see filter type HTTP_HEADER, is this also part of apache 2.2.x? On Thu, 2008-06-26 at 16:36 +0200, Plüm, Rüdiger, VF-Group wrote: -Ursprüngliche Nachricht- Von: Brian J. France Gesendet: Donnerstag, 26. Juni 2008 16:29 An: dev@httpd.apache.org Betreff: Re:

Re: [VOTE] initial release of httpd-mod_ftp-0.9.0

2008-06-26 Thread Sander Temme
On Jun 17, 2008, at 2:43 PM, William A. Rowe, Jr. wrote: review, take it for a spin, and cast your choice [ ] -1 for any release of 0.9.2 [ ] +1 to release as 0.9.2-alpha [ ] +1 to release as 0.9.2-beta [X] +1 to release as 0.9.2-beta, and ready to tag GA (1.0.0) Compiles cleanly (no