Ronak_79648
Jan 05, 2009Nimbostratus
HTTP 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 same logic to 9.x the login page gives 408/409 error.
I am trying to
when HTTP_REQUEST {
set uri [HTTP::uri]
if {[HTTP::cookie exists "User-Name"] || $uri contains "index_out.html" || $uri contains "loginForm.jsp" || $uri ends_with "gif" } {
pool my_web
}
elseif {$uri contains "xyz"}{
HTTP::redirect "https://[HTTP::host]/index_out.html"
}
else {
HTTP::redirect "https://[HTTP::host]/index_out.html"
}
}
Any help?
Thanks
ronak