Re: ap_custom_response content type 'text/xml'

2008-06-27 Thread Kiffin Gish
Thanks so much Brian, it now works! On Fri, 2008-06-27 at 11:45 -0400, Brian J. France wrote: > On Jun 27, 2008, at 11:04 AM, Kiffin Gish wrote: > > Sorry to keep bugging you, but where does this -1 belong? > > In my example there was this line: > > /* split off after value */ > apr_bucket_split

Re: Bug in ap_internal_fast_redirect

2008-06-27 Thread Torsten Foertsch
On Fri 27 Jun 2008, William A. Rowe, Jr. wrote: > It's legacy crap that should be evicted from httpd-trunk, I'll do so > sometime in July depending on vacations and such.  You'll be able to > review the patches to mod_dir and mod_negotiation and decide, should > we actually push these into 2.2. Th

Re: Bug in ap_internal_fast_redirect

2008-06-27 Thread William A. Rowe, Jr.
Torsten Foertsch wrote: So I am wondering wouldn't it be better to call ap_run_sub_req(subreq) to put out the response instead of that hack? I am trying to understand why ap_internal_fast_redirect is necessary at all? It's legacy crap that should be evicted from httpd-trunk, I'll do so somet

Bug in ap_internal_fast_redirect

2008-06-27 Thread Torsten Foertsch
Hi dev, on the modperl mailing list we had recently an interesting problem that has revealed a bug in ap_internal_fast_redirect, see https://issues.apache.org/bugzilla/show_bug.cgi?id=45297 Suppose this config: DirectoryIndex index.shtml Options Includes Indexes AddType text/html .shtml AddO

Re: ap_custom_response content type 'text/xml'

2008-06-27 Thread Brian J. France
On Jun 27, 2008, at 11:04 AM, Kiffin Gish wrote: Sorry to keep bugging you, but where does this -1 belong? In my example there was this line: /* split off after value */ apr_bucket_split(b, end - ct_header + 14 + 1); + 14 is to skip the "Content-Type: " + 1 is to skip the "\r" This is where

Re: ap_custom_response content type 'text/xml'

2008-06-27 Thread Kiffin Gish
Sorry to keep bugging you, but where does this -1 belong? On Fri, 2008-06-27 at 09:59 -0400, Brian J. France wrote: > On Jun 27, 2008, at 9:28 AM, Kiffin Gish wrote: > > > I tried your suggestion but it doesn't help. To be more specific, I > > want > > to convert: > > > > HTTP/1.1 500 Internal

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

2008-06-27 Thread William A. Rowe, Jr.
Jim Jagielski wrote: +1 for beta That's three; and as promised I'll promote my vote from alpha to beta. At 2200 GMT I'll collect any final votes and promote to released. Bill

Re: ap_custom_response content type 'text/xml'

2008-06-27 Thread Brian J. France
On Jun 27, 2008, at 9:28 AM, Kiffin Gish wrote: I tried your suggestion but it doesn't help. To be more specific, I want to convert: HTTP/1.1 500 Internal Server Error Date: Fri, 27 Jun 2008 13:25:56 GMT Server: Apache/2.2.3 (Unix) Content-Length: 1066 Connection: close Content-Type: text/ht

Re: ap_custom_response content type 'text/xml'

2008-06-27 Thread Kiffin Gish
I tried your suggestion but it doesn't help. To be more specific, I want to convert: HTTP/1.1 500 Internal Server Error Date: Fri, 27 Jun 2008 13:25:56 GMT Server: Apache/2.2.3 (Unix) Content-Length: 1066 Connection: close Content-Type: text/html; charset=iso-8859-1 ... to: HTTP/1.1 500 Inter

Re: ap_custom_response content type 'text/xml'

2008-06-27 Thread Brian J. France
On Jun 27, 2008, at 4:00 AM, Kiffin Gish wrote: Brian, This is great, thanks alot! I've 'almost' got it working correctly, the only problem being that the Content-Type is not getting truncated correctly, e.g. instead of: Content-Type: text/xml\n \n \n I'm getting this: Content-Type: te

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

2008-06-27 Thread Jim Jagielski
+1 for beta On Jun 26, 2008, at 10:28 PM, William A. Rowe, Jr. wrote: Sander Temme wrote: [X] +1 to release as 0.9.2-beta, and ready to tag GA (1.0.0) Compiles cleanly (no emits) on httpd 2.2.9 w/ APR and APU 1.3.x r671971 built w/ libtool 1.5.26. Module loads, config loads with all defa

Re: ap_custom_response content type 'text/xml'

2008-06-27 Thread Kiffin Gish
Brian, This is great, thanks alot! I've 'almost' got it working correctly, the only problem being that the Content-Type is not getting truncated correctly, e.g. instead of: Content-Type: text/xml\n \n \n I'm getting this: Content-Type: text/xml\n Any tips would be greatly appreciated. On