Forum Discussion
bdragna_8791
Nimbostratus
Feb 20, 2008iRule - How to pull specific information from host headers
I'm trying to rewrite a HTTP host header based on the original header information. I want to rewrite the header "www.yourdomain.com" to "yourdomain.mydomain.com", but I don't know how to pull just the domain name without the "www" and "com".
I understand how to pull the host information and rewrite or redirect, but what if I just want the "domain" part for the rewrite.
Hope I'm being clear. I'm kind of new to the forum, so any help would be appreciated.
Thanks,
Blase
- Nicolas_Menant
Employee
Hi, - bdragna_8791
Nimbostratus
Perfect...that was exactly what I was looking for.
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