Forum Discussion
JeffW_48472
May 13, 2013Nimbostratus
iRules troubles
Traffic flow is as such:
Internet client browser: https://ps-qa-hc.domain.com (External DNS for this).
SSL on F5 for ps-qa-hc.domain.com.
Need this to go to:
http://c15088...
Kevin_Stewart
May 13, 2013Employee
Since you have external DNS pointing to the IP address of the virtual server, and assuming no other services are pointing to that virtual server, you probably don't need an iRule at all, or at least nothing that has to manipulate the host value. The client will access http://ps-qa-hc.learningcaregroup.com, hit the F5 virtual server, and get load balanced to the internal server (in a pool and listening on port 11104). The internal server's host name shouldn't be relevant unless you also need to pass a Host header.
Now, if you simply need to redirect to "/HC90QA/signon.html" if the request URI is "/", then the following iRule (or something similar) should do what you need:
when HTTP_REQUEST {
if { [HTTP::uri] equals "/" } {
HTTP::redirect "/HC90QA/signon.html"
}
}
This will send a physical (302) redirect and adjust the client's address bar.
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