Forum Discussion
JeremyTHall15_3
Aug 29, 2018Nimbostratus
Redirect main domain as wildcard into a specific domain
Hello all!
So what I would like to do is to redirect the domain (.com) into (.com/index.html). Because there is alot of sites, I would like to simplify the rule if possible where it knows to take the '*' and have it replaced with the VIP name or something to that sort. anyone could help me out?
- Kevin_StewartEmployee
Could you give us some examples?
- Stanislas_Piro2Cumulonimbus
If you want to redirect any hostname ending with .com and uri equals / to same hostname and uri /index.html, use a LTM policy with one rule:
-
conditions
- http-host ends-with .com
- http-uri path equals /
-
action
- http-reply redirect /index.html
-
conditions
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