Forum Discussion
UniFirst1_22521
Nimbostratus
Jan 25, 2016iRule Not Allowing Server Page To Display
I have the following iRule in place. As you can see I am only trying to change common idle timeouts.
when HTTP_REQUEST {
if { ([IP::addr [IP::client_addr] equals 172.17.101.60] or [IP::addr [IP::clie...
Kai_Wilke
MVP
Jan 25, 2016Hi UniFirst1,
you may try this snipped...
when HTTP_REQUEST {
if { (( [IP::addr [IP::client_addr] equals 172.17.101.60] ) or
( [IP::addr [IP::client_addr] equals 172.17.101.149] )) and
( [HTTP::host] equals "soaprod.corp.unifirst.com" ) } then {
log local0. "original timeout: [IP::idle_timeout]"
IP::idle_timeout 10800
log local0. "updated timeout: [IP::idle_timeout]"
set serverside_idle_timeout 1
}
}
when SERVER_CONNECTED {
log local0. "original timeout: [IP::idle_timeout]"
if { [info exists serverside_idle_timeout] } then {
IP::idle_timeout 1802
log local0. "updated timeout: [IP::idle_timeout]"
unset -nocomplain serverside_idle_timeout
}
}
If the error still persist, then take a look to your LTM logfile. In 99,99% of the cases it will raise an TCL error if the iRule is having any issues...
Cheers, Kai
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