Forum Discussion
dacrud_18985
Nimbostratus
Jun 24, 2008preserve hostname
Hi all,
I need to preserve the hostname to a back end apache server so that when the request gets passed through, the apache server can still pick it up through a virtualhost name. Is there anyway to do this? Any help would be appreciated.
Thanks.
- The_Bhattman
Nimbostratus
You can preserve the hostname when by passing it to a variable or a global variable. - dacrud_18985
Nimbostratus
Hi, - Deb_Allen_18Historic F5 AccountThe hostname requested by the client should already be passed in the Host header, and LTM will not modify or remove it unless explcitly configured to do so.
when HTTP_REQUEST { log local0. "HTTP Host requested by [IP::client_addr]: [HTTP::host]" }
HTTP Host requested by 192.168.1.12: www.domain.com
- Deb_Allen_18Historic F5 AccountThe hostname reflected there should be what Apache sees.
- dacrud_18985
Nimbostratus
Thanks!
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