Forum Discussion
lieweffect_3313
Nimbostratus
Aug 23, 2017Mulitiple name redirect to URL
Hi,
I have URL as , when typing at the browser, it will auto redirect to folder and the URL at the browser will show https://www.abc.com/xyz/Login.aspx?ReturnUrl=%2fxyz
Question:
How do I ...
jaikumar_f5
Noctilucent
Aug 23, 2017Question: How do I write iRule, whenever user type (in either one of these conditions): http://www.abc.com http://www.abc.com/xyz https://www.abc.com https://www.abc.com/xyz
So thats 3 http URL and 2 https urls, but all these 5 URL's still resolve to same VIP. If the traffic comes on http - it would goto 1.1.1.1:80 VIP, if the traffic comes to https - it would goto 1.1.1.1:443 VIP.
So you require all 3 URL's to goto https, a simple http2https Irule on the 1.1.1.1:80 VIP should do the work.
- When traffic comes, it would goto https://www.abc.com
- When traffic comes, it would goto https://www.abc.com/xyz
- When http://www.abc.com traffic comes, it would goto https://www.abc.com
- When http://www.abc.com/xyz traffic comes, it would goto https://www.abc.com/xyz
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
