Forum Discussion
Andrea_Arquint
Nimbostratus
Oct 21, 2010How to replace the hostname from a FQDN in HTTP:HOST
Hi How is it possible to replace only the hostname within an irule? Example: Client requests www.trustme.com so [HTTP:Host] contains this name. How can I repl...
Andrea_Arquint
Nimbostratus
Oct 21, 2010Hi Chris
I probably did not clear explain what I need.
For example:
we have some domains...
www.test1.com
www.test2.com
Now I want to get only the domains to create a new one like:
In case of www.test1.com
mobile.test1.com
In case of www.test2.com
mobile.test2.com
etc...
This should be more dynamically then with a "switch" method:
I think should be something like...
set dom [HTTP:Host]
extract only the domain in this case test1.com build the new FQDN.
I hope I did clearly describe what I mean.
Many thanx
andy
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