Forum Discussion
Adam_Fint_1489
Oct 04, 2011Nimbostratus
splitting a domain apart; can I used awk in an iRule?
Our Marketing department went out and purchased hundreds of domains names in the format of xxxcompany.com, such as:
applecompany.com
bananacompany.com
picklecompany.com
They want these to point to a VIP, and have the F5 do a 301 to:
applecompany.com -> apple.company.com
bananacompany.com -> banana.company.com
picklecompany.com -> pickle.company.com
whatevercompany.com -> whatever.company.com
I don't know the business case, but this is what they want.
Can I use awk in an iRule to split the HTTP::host apart?
2 Replies
Sort By
- Hi Adam,
- Perfect, this is exactly what I wanted, THANK YOU!!!
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