Forum Discussion
casieowen_20826
Nimbostratus
Jun 25, 2015An http redirect irule that is executing but not actually redirecting
This is my first attempt at implementing an irule. I've written a few variations trying to get something to work. I've included them all below (replacing the sensitive values with xxx). The result...
Kevin_Stewart
Employee
Jul 14, 2015If I can jump in here, when a modern browser makes an HTTP request to a site using an odd port (ie. not port 80 for HTTP and 443 for HTTPS), that port becomes part of the Host header. Example:
when HTTP_REQUEST {
log local0. [HTTP::host]
}
Testing from cURL:
curl http://test.domain.com:88
Log result:
: test.domain.com:88
When you talk about host name binding, are you talking about the web server configuration, as in Host header binding in IIS? If so, it's very likely that you need to specify the port as part of that Host header.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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