Forum Discussion
cxcal_18687
Jan 26, 2011Nimbostratus
HTTP and URI Redirect
Can someone assist with a iRules with the following requirements:
1) When a client hits "" they should be redirected to "https:///Proxy"
2) If clients hits they should be redire...
cxcal_18687
Jan 28, 2011Nimbostratus
OK...a reboot fixed the fact that I could not see any VIP traffic at all.. go figure...
So I have the iRule below working, but it does not redirect clients to https://hostname/VLPortal as expected. Any advice on how to correct this?
when HTTP_REQUEST {
if { [HTTP::uri] contains "/VLPortal" } {
use pool VLProxy_Servers_443
} elseif { [HTTP::uri] equals "/" } {
use pool VLProxy_Servers_443
}
}
Flip side... when I attempted to use a redirect statement, I get the following error:
"HTTP:host requires an associated HTTP profile on the virtual server".. so I recreated the VIP and assigned a http (performance profile) but the clients fail to receive data. It just hangs, and later times out.
Am I missing something here???
NEED HELP BAD...
Thanks.
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