Forum Discussion
Ronak_79648
Nimbostratus
Jan 05, 2009HTTP Error 408 / 409 -- iRules from 4.x to 9.x
I have simple iRules in 4.x which allows login page for everyone over https. Login process puts the cookie to client and all other request needs to have cookie to access.
When I try to take sa...
Juerg_Wiesmann
Nimbostratus
Jan 05, 2009Hi ronak
408 means Request Timeout
409 stands for conflict
use HTTP Watch or (HTTP Fox on Firefox) to see if you receive the correct headers.
login to BIG-IP using SSH and do a tail -f /var/log/ltm when using the underneeth iRule
the log local0. statements are very helpful for troubleshooting, but should be removed for live traffic
when HTTP_REQUEST {
if {[HTTP::cookie exists "User-Name"] }{
log local0. "Cookie-Is-there"
if {[HTTP::uri] ends_with "index_out.html" }{
log local0. "URI is [HTTP::uri]"
pool my_web
}
}
elseif {[HTTP::uri] contains "xyz"}{
HTTP::redirect "https://[HTTP::host]/index_out.html"
log local0. "Redirect1 is https://[HTTP::host]/index_out.html"
}
else {
HTTP::redirect "https://[HTTP::host]/index_out.html"
log local0. "Redirect2 is https://[HTTP::host]/index_out.html"
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
