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 Sriharsha M <ms...@cordys.com> on 2006/12/22 11:20:57 UTC

Upgrade Issue

Hi,

 

I have upgraded from Apache 2.0.59 to 2.2.3. I have compiled Apache with
mod_proxy (using as a forward proxy) on RHEL 4.0 and I am planning to
build a filter.

 

In Apache 2.2.3, when I use 'mod_case_filter_in.c' from the experimental
modules, I always get r->unparsed_uri, r->uri and r->filename as NULL.

I get r->hostname and r->the_request as expected.

 

This was not the case with the previous versions of Apache.

 

static void CaseFilterInInsertFilter(request_rec *r)

{

    CaseFilterInConfig
*pConfig=ap_get_module_config(r->server->module_config,

 
&case_filter_in_module);

    if(!pConfig->bEnabled)

        return;

 

        ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,

                        "REQUEST : %s", r->the_request);

        ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,

                        "HOSTNAME : %s", r->hostname);

        ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,

                        "UNPARSED URI : %s", r->unparsed_uri);

        ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,

                        "URI : %s", r->uri);

        ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,

                        "FILENAME : %s", r->filename);

 

    ap_add_input_filter(s_szCaseFilterName,NULL,r,r->connection);

}

 

Error Log entries:

 

[Thu Dec 21 10:36:26 2006] [notice] Apache/2.2.3 (Unix) configured --
resuming normal operations

[Thu Dec 21 10:36:36 2006] [error] [client 10.192.70.24] REQUEST : GET
http://www.google.com/ HTTP/1.0

[Thu Dec 21 10:36:36 2006] [error] [client 10.192.70.24] HOSTNAME :
www.google.com

[Thu Dec 21 10:36:36 2006] [error] [client 10.192.70.24] UNPARSED URI :
(null)

[Thu Dec 21 10:36:36 2006] [error] [client 10.192.70.24] URI : (null)

[Thu Dec 21 10:36:36 2006] [error] [client 10.192.70.24] FILENAME :
(null)

 

Any help in this regard is appreciated.

 

Thanks in Advance,

Harsha

 


***********************************************************************
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this 
message by anyone else is unauthorized. If you are not the 
intended recipient, any disclosure, copying, or distribution of the 
message, or any action or omission taken by you in reliance on 
it is prohibited and may be unlawful. Please immediately contact 
the sender if you have received this message in error. This email 
does not constitute any commitment from Cordys Holding BV or 
any of its subsidiaries except when expressly agreed in a written 
agreement between the intended recipient and 
Cordys Holding BV or its subsidiaries.
***********************************************************************