Forum Discussion
hyhy88
Nov 17, 2023Nimbostratus
ltm rewrite profile not accepting path
Hi All, Im new here. I would like to seek advice on setting up rewrite profiles on LTM. Currently i got this url https://example.bcd.com/apps/ that in backend i forward the traffic to the pool. i...
Paulius
Nov 17, 2023MVP
hyhy88 On the LTM you do not have to specify the port in the host section of the URL because it automatically sorts that. The following should be the iRule that is need to change the URI.
when HTTP_REQUEST priority 500 {
set URI [string tolower [HTTP::uri]]
if {${URI} eq "/apps/"} {
HTTP::uri [string map {"/apps/" "/devapp/"}[HTTP::uri]]
}
}
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