Forum Discussion
pmsivaraj_34123
Nimbostratus
Dec 04, 2017Replace Part of the Path in URL using LTM Policy
Hi,
I have created LTM Policy(Local Traffic>>Policies>>Policy List) to replace a part in the URL.
Requested URL: https://www.test.com/xyz/rst/change_for/test/index.refresh
Replace /rst...
Hi Glenn,
Is the http:// reference in the headers or the payload? To rewrite http:// to https:// in the Location header you can enable rewriting of redirects in a custom HTTP profile. For rewriting response content, you can use a stream profile and STREAM::expression based iRule. See the related wiki page for examples and more info:
http://devcentral.f5.com/wiki/default.aspx/iRules/stream__expression
Aaron