Modifying http->uri in clientRedirectDone

From: harsha_en <harsha_en_at_yahoo.co.uk>
Date: Fri, 11 Jul 2008 06:49:55 -0700 (PDT)

Dear All,

I want to modify the URL received via url_rewrite_program. In oredr to
achieve this I modified ClientRequestContext::clientRedirectDone method by
updating http->uri and http->redirect.location variables. Following is the
code i used,

http->uri = xstrdup(modified_uri);
http->redirect.location = xstrdup(modified_uri);

However the above code doesn't work since the original URL recived via the
rewrite script (written in perl) is what become visible for the web
applications.

I would like to know someone could advice on how to get this resolved and
your support in this regard is highly appreciated.

Thanks,
Harsha

-- 
View this message in context: http://www.nabble.com/Modifying-http-%3Euri-in-clientRedirectDone-tp18404307p18404307.html
Sent from the Squid - Development mailing list archive at Nabble.com.
Received on Fri Jul 11 2008 - 13:49:57 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 11 2008 - 12:00:04 MDT