Forum Discussion
MihirP1208_3846
Feb 25, 2019Nimbostratus
taking value and append to uri while masking?
Hello F5 community:
Is there such a way to create an irule which will take the value before the domain, *.test123.com, append it to ) and pull up the contents without changing the URL in the ...
Stanislas_Piro2
Feb 25, 2019Cumulonimbus
Simpler code :
when HTTP_REQUEST {
Check for a non-null length host header
if {[string match {[a-zA-Z]} [HTTP::host]]} {
HTTP::host "www.test123.com"
HTTP::uri /[getfield [HTTP::host] . 1][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