Forum Discussion
avaj_44503
Nimbostratus
Oct 29, 2012101 connection reset
Hi all.
Firstly, i have to thank to all contributors in this forum, because they've saved my life a lot of times.
Today i have a problem with one irule.
I am writing an irule t...
avaj_44503
Nimbostratus
Oct 29, 2012Hi all,
The part of the irule that is not run correctly is:
elseif { (not ([HTTP::host] equals $newhost))
}
{
HTTP::header replace Host $newhost/$suri
if {$host_debug}{log local0. "[HTTP::host]: Second case: Replaced Host header with $newhost/$suri."}
}
Answering to nitas,
We want to be transparent to the users, in this case we must to use replace instead of redirect.
Anyway thank so much for all, with your examples i've had enough to fix the behaviour of my irule.
Would you be so kind to say me what i was doing wrong?, in order to understand the issue.
Thanks in advance and kind regards.
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
