Forum Discussion
AfterFax_148580
Nimbostratus
May 20, 2014iRule not executing
Upgraded to v11.5.1 with Hotfix-HF2. created first new pool & virtual and assigned a HTTP Redirect iRule :
when HTTP_REQUEST {
if { [HTTP::uri] equals "/" } {
HTTP::redirect "http://crm....
nitass
Employee
May 21, 2014Strange .. it only appends triple 5 and not 5555
it seems okay here.
test
[root@ve11a:Active:In Sync] config curl -I http://172.28.24.10:5555/
HTTP/1.0 302 Found
Location: http://crm.murrob.com:5555/murrayroberts
Server: BigIP
Connection: Keep-Alive
Content-Length: 0
config
[root@ve11a:Active:In Sync] config tmsh list ltm rule qux
ltm rule qux {
when HTTP_REQUEST {
if { [HTTP::uri] equals "/" } {
HTTP::redirect "http://crm.murrob.com:5555/murrayroberts"
}
}
}
AfterFax_148580
Nimbostratus
May 21, 2014okay my mistake - made a typo, both curl and tmsh list outputs shows the four digit port number - however still no redirect
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