Forum Discussion
Dunleap_21354
Nimbostratus
Apr 10, 2008changing URI path
So I need to write a rule that will "see" the path /citrix/pnagent/confg.xml and replace it with /pnagent/config.xml removing the citrix part.
My first stab doesn't appear to be working, Any id...
Nicolas_Menant
Employee
Apr 10, 2008Are you doing the trace between the bigip and the client or between the bigip and the server ?
Otherwise to replace the path you can do the following:
when HTTP_REQUEST {
if { [HTTP::path] equals "/citrix/pnagent/conf.xml" } {
HTTP::path "/pnagent/config.xml"
}
}
syntax here : Click here
But Colin is right (as usual i would say :p), won't you need to rewrite the url in the response too ? if that's the case a stream profile is the best method to achieve this
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
