Forum Discussion
Juan_María_Rodr
Nimbostratus
Mar 02, 2006redirect and loop, please help
Hello.
Could anyone tell me why this iRule ends in a loop?
when HTTP_REQUEST {
if { [HTTP::host] equals "www.pepito.com"} {
HTTP::redirect "http://www.pepito.com/mainten...
Juan_María_Rodr
Nimbostratus
Mar 06, 2006Thank you very much. It works.
But, could you tell me why this one doesn't work?:
when HTTP_REQUEST {
if { [HTTP::path] equals "www.pepito.com"} {
set [HTTP::uri] "/maintenance/index.html"
HTTP::redirect "http://[HTTP::host][HTTP::uri]"
}
}
Thanks a lot.
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