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: > > /*

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:

Re: ap_custom_response content type 'text/xml'

2008-06-27 Thread Kiffin Gish
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: > &g

Re: ap_custom_response content type 'text/xml'

2008-06-27 Thread Kiffin Gish
ly appreciated. On Thu, 2008-06-26 at 10:29 -0400, Brian J. France wrote: > 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 wh

Re: ap_custom_response content type 'text/xml'

2008-06-26 Thread Kiffin Gish
; 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 doesn't seem to > > > work.

Re: ap_custom_response content type 'text/xml'

2008-06-26 Thread Kiffin Gish
et_brigade* bb) { const char *t = apr_table_get(f->r->notes, "MY_NOTE"); if (t != NULL) { ap_set_content_type(f->r, "text/xml"); } return ap_pass_brigade(f->next, bb) ; } On Thu, 2008-06-26 at 08:35 -0400, Brian J. France wrote: > On Jun 2

Re: ap_custom_response content type 'text/xml'

2008-06-26 Thread Kiffin Gish
n 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/ht

ap_custom_response content type 'text/xml'

2008-06-26 Thread Kiffin Gish
here who can help me? -- Kiffin Gish | Desktop & Services Development | TomTom | [EMAIL PROTECTED] | +31 (0) 6 15529214 mobile | +31 (0) 20 757 5000 office

Using hash tables globally ...

2008-06-09 Thread Kiffin Gish
t the next time hook_translate_name() is called, the hash no longer contains this/any value, it's disappeared. What do I need to do to make this hash table persistent globally and be updated properly within each url request? Thanks alot in advance, Kiffin -- Kiffin Gish | Desktop & Servi

How to return HTTP error codes using hook filter ...

2008-03-12 Thread Kiffin Gish
error code which should be returned? -- Kiffin Gish | Desktop & Services Development | TomTom | [EMAIL PROTECTED] | +31 (0) 6 15529214 mobile | +31 (0) 20 850 0989 office This e-mail message contains information which is confidential and may be privileged. It is intended for use by the

Scanning conf file during module initialization ...

2008-01-13 Thread Kiffin Gish
walktree mechanism or whatever to do this? Thanks alot in advance, Kiffin -- Kiffin Gish | Desktop & Services Development | TomTom | [EMAIL PROTECTED] | +31 (0) 6 15529214 mobile | +31 (0) 20 850 0989 office This e-mail message contains information which is confidential and may be privileged. I

Logging POST body ...

2008-01-13 Thread Kiffin Gish
am without actually affecting/emptying the contents of the relevant bucket? Thanks alot in advance, Kiffin -- Kiffin Gish | Desktop & Services Development | TomTom | [EMAIL PROTECTED] | +31 (0) 6 15529214 mobile | +31 (0) 20 850 0989 office This e-mail message contains information which is confid