Forum Discussion
LTM Masking URI
Hi,
Thank you for your prompt response.
For tableau to work correctly, it use multiple URI's.
some of those are:
server01/#
server01/vzql
server01/t
How can i modify the iRule code to work for what I need
when HTTP_REQUEST {
set HOST [string tolower [HTTP::host]]
set URI [string tolower [HTTP::uri]]
if { $HOST contains "devtest.domain.com" } {
#Disable SSL
SSL::disable serverside
}
if { $URI contains "/wdev/wweb.ll?wsession" } {
HTTP::uri [string map {/wdev/wweb.ll?wsession /wdev/wweb.ll?FoldSession} [HTTP::uri]]
pool POOL-DEV2
}
}
when HTTP_RESPONSE {
if { [HTTP::header values Location] contains "/wdev/wweb.ll?FoldSession" } {
HTTP::header replace Location [string map {/wdev/wweb.ll?FoldSession /wdev/wweb.ll?wsession} [HTTP::header value Location]]
}
}
Recent Discussions
Related Content
* 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