Re: Module that forward requests

2009-07-14 Thread ricardo13
. Thank you. Ricardo -- View this message in context: http://www.nabble.com/Module-that-forward-requests-tp24461810p24476948.html Sent from the Apache HTTP Server - Module Writers mailing list archive at Nabble.com.

Re: Module that forward requests

2009-07-14 Thread Tom Evans
On Tue, 2009-07-14 at 03:22 -0700, ricardo13 wrote: Hi, Yesterday, I studied mod_rewrite very much and I believe that fully_qualify_uri() function is where mod_rewrite does proxy. That's right ?? This is way ?? Other question, I copied fully_qualify_uri() function, but when print value

Re: Module that forward requests

2009-07-14 Thread Eric Covener
On Tue, Jul 14, 2009 at 7:37 AM, Tom Evanstevans...@googlemail.com wrote: On Tue, 2009-07-14 at 03:22 -0700, ricardo13 wrote: r-filename = apr_psprintf(r-pool, %s://%s%s%s%s, http, ip_machine, port_machine, r-filename); # of %s in format doesn't agree with # of arguments, right? -- Eric

Re: Module that forward requests

2009-07-14 Thread ricardo13
they happen to hit a null byte. OK. And about proxy ? That's right ? Remenber that Im trying to develop a module contains reverse proxy. Thank you Ricardo Cheers Tom -- View this message in context: http://www.nabble.com/Module-that-forward-requests-tp24461810p24477905.html

Re: Module that forward requests

2009-07-14 Thread ricardo13
with # of arguments, right? Ok. I don't see. I've resolved this problem. And about proxy ?? That's right ?? Thank you. Ricardo -- Eric Covener cove...@gmail.com -- View this message in context: http://www.nabble.com/Module-that-forward-requests-tp24461810p24477945.html Sent from

Re: Module that forward requests

2009-07-14 Thread ricardo13
]. That module, I processing the object request_rec-uri and set what machine in cluster forward the request. Thank you. Ricardo http://www.nabble.com/file/p24478628/meu_modulo.c meu_modulo.c -- View this message in context: http://www.nabble.com/Module-that-forward-requests

Re: Module that forward requests

2009-07-14 Thread ricardo13
: http://www.nabble.com/Module-that-forward-requests-tp24461810p24479756.html Sent from the Apache HTTP Server - Module Writers mailing list archive at Nabble.com.

Module that forward requests

2009-07-13 Thread ricardo13
://www.nabble.com/Module-that-forward-requests-tp24461810p24461810.html Sent from the Apache HTTP Server - Module Writers mailing list archive at Nabble.com.

Re: Module that forward requests

2009-07-13 Thread Eric Covener
On Mon, Jul 13, 2009 at 9:34 AM, ricardo13ricardoogra...@gmail.com wrote: hi, I'm newbie in APR and need develop a module that forward request to cluster. The same in mod_rewrite with flag [P]. That module, I processing the object request_rec-uri and set what machine in cluster forward the

RE: Module that forward requests

2009-07-13 Thread Houser, Rick
[mailto:ricardoogra...@gmail.com] Sent: Monday, July 13, 2009 9:34 AM To: modules-dev@httpd.apache.org Subject: Module that forward requests hi, I'm newbie in APR and need develop a module that forward request to cluster. The same in mod_rewrite with flag [P]. That module, I processing

RE: Module that forward requests

2009-07-13 Thread ricardo13
Subject: Module that forward requests hi, I'm newbie in APR and need develop a module that forward request to cluster. The same in mod_rewrite with flag [P]. That module, I processing the object request_rec-uri and set what machine in cluster forward the request. Thank you. Ricardo

Re: Module that forward requests

2009-07-13 Thread ricardo13
existing modules. Use or modify, that is. Can my module to use mod_proxy for forward requests ? How do I do it ? -- Eric Covener cove...@gmail.com -- View this message in context: http://www.nabble.com/Module-that-forward-requests-tp24461810p24462385.html Sent from the Apache HTTP

Re: Module that forward requests

2009-07-13 Thread Eric Covener
On Mon, Jul 13, 2009 at 10:06 AM, ricardo13ricardoogra...@gmail.com wrote: It's difficult. I'd suggest finding a way to use existing modules. Use or modify, that is. Can my module to use mod_proxy for forward requests ? How do I do it ? I'm not convinced you need a module. mod_rewrite

Re: Module that forward requests

2009-07-13 Thread ricardo13
priotize the requests. Thank you Ricardo -- Eric Covener cove...@gmail.com -- View this message in context: http://www.nabble.com/Module-that-forward-requests-tp24461810p24462868.html Sent from the Apache HTTP Server - Module Writers mailing list archive at Nabble.com.

Re: Module that forward requests

2009-07-13 Thread Eric Covener
On Mon, Jul 13, 2009 at 10:33 AM, ricardo13ricardoogra...@gmail.com wrote: Eric Covener wrote: On Mon, Jul 13, 2009 at 10:06 AM, ricardo13ricardoogra...@gmail.com wrote: It's difficult. I'd suggest finding a way to use existing modules. Use or modify, that is. Can my module to use

Re: Module that forward requests

2009-07-13 Thread ricardo13
. Thank you. Ricardo -- Eric Covener cove...@gmail.com -- View this message in context: http://www.nabble.com/Module-that-forward-requests-tp24461810p24463143.html Sent from the Apache HTTP Server - Module Writers mailing list archive at Nabble.com.

Re: Module that forward requests

2009-07-13 Thread Eric Covener
On Mon, Jul 13, 2009 at 10:46 AM, ricardo13ricardoogra...@gmail.com wrote: Not arbitrarily.  You can store that value in a note (r-notes) and set/query via rewrite if you're not looking to do much development. You can store that value in a note (r-notes) How do I do it ?? Remember, using

Re: Module that forward requests

2009-07-13 Thread ricardo13
://www.nabble.com/Module-that-forward-requests-tp24461810p24463773.html Sent from the Apache HTTP Server - Module Writers mailing list archive at Nabble.com.

Re: Module that forward requests

2009-07-13 Thread ricardo13
that forward request to cluster. The same in mod_rewrite with flag [P]. That module, I processing the object request_rec-uri and set what machine in cluster forward the request. Thank you. Ricardo -- View this message in context: http://www.nabble.com/Module-that-forward-requests

Re: Module that forward requests

2009-07-13 Thread Eric Covener
On Mon, Jul 13, 2009 at 1:30 PM, ricardo13ricardoogra...@gmail.com wrote: r-proxyreq == PROXYREQ_PROXY; But in httpd.h, the request_rec object hasn't field proxyreq. What's this ?? In my 2.2.x headers it's an int in the request_rec. -- Eric Covener cove...@gmail.com