Forum Discussion
Jnon
Jan 03, 2018Nimbostratus
curl irule behavior
I have an irule that is as follows:
when HTTP_REQUEST {
set var1 [getfield [HTTP::uri] "/" 2 ]
log local0. "$var1"
HTTP::header replace "Host" "https://$var1.host.domain...
Jan 03, 2018
Can you try reformatting your irule code using the preformatted code feature? And perhaps add some more complete log output?
What does your server, if you have access to the logs, say the hostname is? Since in your iRule you're just forcing a Host header change instead of say, a redirect, I think it is normal for Curl to assume you're still at host.domain.com.
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