You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by GOMEZ Henri <hg...@slib.fr> on 2001/09/28 16:18:28 UTC
FW: mod_rewrite and mod_jk
FYI
-
Henri Gomez ___[_]____
EMAIL : hgomez@slib.fr (. .)
PGP KEY : 697ECEDD ...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6
>-----Original Message-----
>From: William A. Rowe, Jr. [mailto:wrowe@covalent.net]
>Sent: Friday, September 28, 2001 2:41 PM
>To: dev@httpd.apache.org; new-httpd@slib.fr
>Subject: Re: mod_rewrite and mod_jk
>
>
>If you look at ap_process_request_internal() the request is unescaped
>once and only once before mod_jk takes a crack at translate_name.
>
>Your code below appears correct, so IMHO if mod_rewrite gives you some
>unescaped URI, mod_rewrite is likely broken. There would really be no
>way to 'tell' if a broken mod_rewrite put its hands on such a URI.
>
>Bill
>
>----- Original Message -----
>From: "Gomez Henri" <ne...@slib.fr>
>To: <de...@httpd.apache.org>
>Sent: Friday, September 28, 2001 5:51 AM
>Subject: mod_rewrite and mod_jk
>
>
>> Hi to all,
>>
>> We're working on the mod_jk (tomcat connector) issue about
>URI encoding .
>>
>> In later version we were using ap_espace_uri but it's still
>not the could
>> solution
>> and we'd like to know how we could determine if a request
>has allready
>> handled
>> by mod_rewrite (In Apache 1.3 and 2.0 ) ?
>>
>> >From mod_jk for Apache 1.3 found in jakarta-tomcat-connectors :
>>
>> s->method = (char *)r->method;
>> s->content_length = get_content_length(r);
>> s->is_chunked = r->read_chunked;
>> s->no_more_chunks = 0;
>> s->query_string = r->args;
>>
>> /*
>> * The 2.2 servlet spec errata says the uri from
>> * HttpServletRequest.getRequestURI() should remain encoded.
>> * [http://java.sun.com/products/servlet/errata_042700.html]
>> *
>> */
>> s->req_uri = ap_escape_uri(r->pool, r->uri);
>>
>> s->is_ssl = JK_FALSE;
>> s->ssl_cert = NULL;
>> s->ssl_cert_len = 0;
>> s->ssl_cipher = NULL; /* required b
>>
>>
>>
>