Forum Discussion
Matthew_Hutchin
Nimbostratus
Jan 22, 2007Apache Virtual Hosts and Load balancing
I currently have a customer that is switching from an Apache Proxy server with Apache Virtual Hosts to and F5 BigIP LTM. I would like to know if anyone has eve done this and/or if it is possible to u...
hoolio
Cirrostratus
Oct 05, 2011Another option:
If you can update the virtual host definition in apache to accept the server IP in the host header, then you can eliminate the datagroup and lookup:
from: http://devcentral.f5.com/wiki/iRules.http_request_send.ashx
when HTTP_REQUEST_SEND {
Need to force the host header replacement and HTTP:: commands into the clientside context
as the HTTP_REQUEST_SEND event is in the serverside context
clientside {
Replace the HTTP host header with the connected server IP and port
HTTP::header replace Host "[IP::server_addr]:[TCP::server_port]"
}
}
Aaron
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