Re: cookie handling functions

2010-09-15 Thread Neil Erdwien
Excellent -- this is exactly what I was looking for. I've set it up and it works great. BTW, pay attention when it says to use gmake on Solaris. :-) Thanks. On 9/15/2010 11:46 AM, Brian McQueen wrote: I think apreq has that. If you don't have it already, get it and you'll be glad you did.

Re: ap_sub_req_lookup_file vs ap_sub_req_lookup_uri

2010-09-15 Thread Peter Janovsky
apache 2.2.16 From: Ben Noordhuis To: modules-dev@httpd.apache.org Sent: Wed, September 15, 2010 4:03:40 PM Subject: Re: ap_sub_req_lookup_file vs ap_sub_req_lookup_uri Peter, what version of Apache are you testing this with?

Re: modules architecture issue

2010-09-15 Thread Fabio Kaminski
Hi Nick, thanks for answering.. im reading your book and surfing some apache code for hacking.. it has been a nice trip .. and your book is very rich of knowledge! (without it.. only hacking the code :s) so thanks for that :) i've done some nginx modules coding too, and apache it's way more produ

Re: modules architecture issue

2010-09-15 Thread Nick Kew
On Wed, 15 Sep 2010 14:57:25 -0300 Fabio Kaminski wrote: I'm not certain I understand the question, but here goes ... > and at least for data, i thought use something like [input filter -> > handler -> output filter] > > where the input filter receives a formated string and parse into a intern

Re: modules architecture issue

2010-09-15 Thread Fabio Kaminski
Ben, I know thats not the traditional way to do it.. and the way i used to do it too.. but i wanna to scale and use only the resources i really need, been fast as possible.. so i think nothing better than be apache itself.. besides i see a lot of optimizations and freedom (like caching, or routin

Re: ap_sub_req_lookup_file vs ap_sub_req_lookup_uri

2010-09-15 Thread Ben Noordhuis
Peter, what version of Apache are you testing this with?

Re: modules architecture issue

2010-09-15 Thread Ben Noordhuis
Fabio, do you need a module for this? It sounds like it better belongs in an application server like Tomcat.

Re: modules architecture issue

2010-09-15 Thread Fabio Kaminski
since SetHandler directive "disable" my filter when fired.. does it disable all others filters, like cache and session? On Wed, Sep 15, 2010 at 2:57 PM, Fabio Kaminski wrote: > Hi all, > > im working with apache modules on apache 2.3 for direct application > development.. > > and at least for dat

modules architecture issue

2010-09-15 Thread Fabio Kaminski
Hi all, im working with apache modules on apache 2.3 for direct application development.. and at least for data, i thought use something like [input filter -> handler -> output filter] where the input filter receives a formated string and parse into a internal object struct.. the handler get it

Re: cookie handling functions

2010-09-15 Thread Brian McQueen
I think apreq has that. If you don't have it already, get it and you'll be glad you did. Look at its header files. Lots of good stuff in them. On Wed, Sep 15, 2010 at 9:34 AM, Neil Erdwien wrote: > I'm writing a filter module that needs to inspect cookie values sent with > the request. > > Get

cookie handling functions

2010-09-15 Thread Neil Erdwien
I'm writing a filter module that needs to inspect cookie values sent with the request. Getting the cookie string is easy via: char *s = apr_table_get(r->headers_in, "cookie"); However, this returns the whole cookie string, i.e., something like: name=value; name="value"; name="quoted \"v