Tom Evans-3 wrote:
>
> 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
>> 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
>>
>
> It's called C. Character arrays are null terminated, and if they are
> not, things that print it tend to keep printing random bits of memory
> until 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
Sent from the Apache HTTP Server - Module Writers mailing list archive at
Nabble.com.