Forum Discussion
Frank_Ziebarth_
Jun 19, 2006Nimbostratus
Hallo,
thanks for your fast response.
I use the version from hoolio, it works fine.
I would like extend the iRule with logging
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/portal/" } {
log local0. "Original HTTP uri = [HTTP::uri]"
HTTP::uri [string map { /portal/ /version02.webservices.portal/ } [HTTP::uri]]
log local0. "New HTTP uri = [HTTP::uri]"
pool SDS_Pool01
}
....
But the logging not work correctly, there is no different between the Original URI and the URI after the rewrite.
tmm tmm[989]: Rule _TEST_Frank : Original HTTP uri = /portal/default.aspx
tmm tmm[989]: Rule _TEST_Frank : New HTTP uri = / portal/default.aspx
Can you help me here again?
Thanks Frank.