httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ricardo13 <>
Subject Re: Module that forward requests
Date Tue, 14 Jul 2009 10:22:47 GMT


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
r->filename give error:
For example, in code:

r->filename = apr_psprintf(r->pool, "%s://%s%s%s%s", "http", "ip_machine",
"port_machine", r->filename);

ap_log_error(APLOG_MARK, APLOG_CRIT, rv, ap_server_conf,"MEU_MODULE PROXY:
%s", r->filename);

In error_log shows:

What's this ?

Thank you.

ricardo13 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 request.
> Thank you.
> Ricardo

View this message in context:
Sent from the Apache HTTP Server - Module Writers mailing list archive at

View raw message