Forum Discussion
Stephen_Swali_8
Jan 17, 2008Nimbostratus
iRule to change host headers.
Hi guys,
first time on DC so apologies in advance if I'm doing something wrong.
Please can you help with an issue I have.
We have a website that is hosted externally on a...
Stephen_Swali_8
Jan 19, 2008Nimbostratus
Hi Aaron,
Thanks for this.
I've tried this to no avail.
This is the edited output from /var/log/ltm.
Jan 18 13:24:22 tmm tmm[1587]: Rule rule_VS_ETS_1 : Received request from client_addr -> internal_hostname/
Jan 18 13:24:22 tmm tmm[1587]: Rule rule_VS_ETS_1 : Redirecting client_addr from / -> https://internal_hostname/aon.asp
Jan 18 13:24:22 tmm tmm[1587]: Rule rule_VS_ETS_1 : Received request from client_addr -> internal_hostname/aon.asp
Jan 18 13:24:22 tmm tmm[1587]: Rule rule_VS_ETS_1 : Rewriting client_addr's Host header to external_hostname
Jan 18 13:24:22 tmm tmm[1587]: Rule rule_VS_ETS_1 : Received request from client_addr -> internal_hostname/aon.asp
Jan 18 13:24:22 tmm tmm[1587]: Rule rule_VS_ETS_1 : Rewriting client_addr's Host header to external_hostname
The first four log entries make sense based on the content of the iRule and using HTTP watch I see a 302 but then followed immediately by an ERROR_INTERNET_CONNECTION_RESET, which I think is being sent by the server but am just wondering how I can go about capturing this in logs.
Any thoughts?
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