Re: sending provisional response codes from a filter

2008-02-08 Thread Nick Kew
On Fri, 8 Feb 2008 14:22:23 -0500 "Charles Fry" <[EMAIL PROTECTED]> wrote: > Wow, ap_send_interim_response is great! Thanks for pointing that out. > > I got it to work with apparent success by just reusing the > ap_filter_t's reqeust_rec in my incoming filter, saving the status and > status code,

Re: sending provisional response codes from a filter

2008-02-08 Thread Charles Fry
Wow, ap_send_interim_response is great! Thanks for pointing that out. I got it to work with apparent success by just reusing the ap_filter_t's reqeust_rec in my incoming filter, saving the status and status code, setting them for the interim call, and then restoring them afterwords. Does this soun

Re: mysql auth module

2008-02-08 Thread Seth Cherney
Thanks everyone for the responses. Im quite pressed for time this week, but will look into everything and get back to the list with my Q's. I think my problem stems more from the fact that I have never used C than anything else. So, till next time ;) John David Duncan <[EMAIL PROTECTED]> wrote

Re: sending provisional response codes from a filter

2008-02-08 Thread Charles Fry
I wasn't using ap_send_interim_response, though I'll take a look at it. I just used the code previously posted on this thread, copied straight from http_filter's sending of 100 Continue responses. And it works just fine as is. :-) As for Joe's question, I don't have a patch that fixes things, but

Re: mysql auth module

2008-02-08 Thread Helmut Tessarek
Hi Seth, I recommend Nick's book: The Apache Modules Book: Application Development with Apache ISBN-10: 0132409674 ISBN-13: 978-0132409674 I bought the book, after I had already written my authentication module, as a reference. It explains the memory structures you were talking about and actu

Re: sending provisional response codes from a filter

2008-02-08 Thread Joe Lewis
Charles Fry wrote: All right. I finally resolved this, and it ends up the code works just fine, it's just that the input filter wasn't set properly, but I didn't notice due to the spurious 103 I was observing due to my modification of http_protocol. Whew. Charles Would you be willing to pos

Re: Additional log file

2008-02-08 Thread Eric Covener
On Feb 8, 2008 10:16 AM, Wall, Mick <[EMAIL PROTECTED]> wrote: > Hello, > > I have a requirement to log some additional information to a separate log > file. Can I do this using some of the existing log API's or will I need to > create my own. If you can push the data into an environment variable

Re: Terminating a connection in mod_proxy

2008-02-08 Thread Nick Kew
On Thu, 7 Feb 2008 19:23:47 -0800 "Peter Belau" <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm trying to figure out how I would send data back trough mod_proxy > based on a certain request. For instance: upon seeing a GET to > www.google.com, I'd like to return "Hello world" *without* the > request