You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modules-dev@httpd.apache.org by karim Bendadda <ka...@gmail.com> on 2008/01/15 11:27:21 UTC

Redirect HTTP request on a module by mod_proxy??

Hi everybody,

       I'm coding an Apache 2.2 module wich has an HTTP request as input. In
the code I'll need to redirect request (The same HTTP request).

      I tried the *apr_table_setn(r->headers_out, (const
char*)"Location",loc); *but it doesn't redirect the input request.. I want
to try to make a hook on the mod_proxy module on my module Apache: something
like that:

/*code.....*/

hook(my_request, mod_proxy);

/*code...*/

Did you tried this?

Thank you for help.

-- 
Karim