Forum Discussion
Robert_Pagano_7
Nimbostratus
Dec 29, 2005best way to move redirect function from Linux/Apache server to BIG-IP LTM?
I am trying to use a BIG-IP LTM box to replicate the functionality currently provided by a Linux/Apache server which is virtual hosting a number of domains.
The Linux/Apache server is basica...
Robert_Pagano_7
Nimbostratus
Jan 24, 2006Thanks for the reply.
So... if I have twenty domains named, for example,
domain-01.com
domain-02.com
...
domain-20.com
(where all of them resolve to the same virtual IP address on the BIG-IP)
and I wanted to redirect clients as follows
www.domain-01.com ---> domain-01.com
www.domain-02.com ---> some-other-domain.com
...
www.domain-20.com ---> yet-another-domain.com
would I do something like the following?
if (http_host contains "www.domain-01.com") {redirect to "http://domain-01.com/"}
if (http_host contains "www.domain-02.com") {redirect to "http://some-other-domain.com/"}
...
if (http_host contains "www.domain-20.com") {redirect to "http://yet-another-domain.com/"}
--
Rob
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
