httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ricardo13 <ricardoogra...@gmail.com>
Subject Re: Module that forward requests
Date Mon, 13 Jul 2009 14:33:07 GMT



Eric Covener wrote:
> 
> On Mon, Jul 13, 2009 at 10:06 AM, ricardo13<ricardoogrande@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 already illustrates
> this with the P flag.
> 
> Because I need modify request_rec object. You told me (in other topic)
> that cannot modify request_rec object in external program in mod_rewrite.
> I use external program for schedule request.
> 
> My idea is prioritize requests. I will do this form:
> 
> 1° Modify field priority in request_rec. (I will create this field in
> request_rec) 
> 2° After modified, I schedule the request to another machine. (using
> proxy)
> 3° When request arrive this machine, my worker.c will be able to analyze
> request_rec->priority (1 or 2) then threads priotize the requests.
> 
> Thank you
> Ricardo
> 
> 
> 
> 
> -- 
> Eric Covener
> covener@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.


Mime
View raw message