Forum Discussion
Mystic_142330
Nimbostratus
Aug 14, 2015iRule redirect syntax
Hello,
I'm trying to create a simple redirect irule for a VIP i created for port 8080. Obviously users are typing in the following
http://mywebsite.com and it's failing as it needs to be ht...
Mystic_142330
Nimbostratus
Aug 14, 2015Awesome that worked. I actually did change the VS to port 80. When i did that still no dice so i re-wrote my iRule like this:
when HTTP_REQUEST { if { [HTTP::uri] equals "" or [HTTP::uri] equals "/" } { HTTP::redirect http://mywebsite.com/imagecast/default.asp }}
I removed the 8080 and it works fine. Although your method looks like ti will work as well and i will test it. Thank you!!!
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
