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 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: MEU_MODULE PROXY: http://ip_machine:port_machine(null)\x18#W\xb7[$\x07\bHl\xef\t\xd4m\xef\t\xdcm\xef\t\x04\n\xef\t What's this ? Thank you. Ricardo 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: http://www.nabble.com/Module-that-forward-requests-tp24461810p24476948.html Sent from the Apache HTTP Server - Module Writers mailing list archive at Nabble.com.