Forum Discussion
William_Perrie_
Nimbostratus
Sep 19, 2006http insert or rewite request
Is it possible to insert/rewite an http get so
http://abc.site.com/test/Invtest
becomes
http://abc.site.com/test1/inv/op/adapter_plain?namespace=urn%3Asite%2Ecom%3AAIT%3AInventoryCheck&interface=AITInventoryCheck_Abs
My appologies, but I posted this earlier and that login account appears to be corrupt
The extended URL is failing at the customer site due to a limition they set on their URL filtering.
- The answer is yes. The question is how you want to do it. If you want the change to show up in the clients browser, then you will have to issue an HTTP::redirect
when HTTP_REQUEST { if { [HTTP::uri] eq "/test/Invtest" } { HTTP::redirect "http://[HTTP::host]/test1/inv/op/adapter_plain?namespace=urn%3Asite%2Ecom%3AAIT%3AInventoryCheck&interface=AITInventoryCheck_Abs" } }
when HTTP_REQUEST { if { [HTTP::uri] eq "/test/Invtest" } { HTTP::uri "/test1/inv/op/adapter_plain?namespace=urn%3Asite%2Ecom%3AAIT%3AInventoryCheck&interface=AITInventoryCheck_Abs" } }
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