Forum Discussion
Marker_58065
Dec 15, 2010Nimbostratus
Append domain when needed and redirect to HTTPS
Here is the background - we have a couple of internal F5s with a bunch of applications that we are doing SSL offloading on. When users access these applications they don't have to type the FQDN becau...
hooleylist
Dec 15, 2010Cirrostratus
Hi Marker,
Do you need to support access by IP address to the virtual servers? If so, the rule you've posted wouldn't work, as clients would get redirected to 1.2.3.4.ourdomain.net. I can think of a few possible solutions for this:
- Use the iRule you've listed and in effect break access by IP address
- Use an iRule per virtual server with a hardcoded hostname. Redirect everything to that hostname with the URI preserved.
- Use one iRule for all virtual servers and a datagroup that maps the virtual server IP to a hostname. You'd need to update the datagroup anytime the mapping changes.
- Use one iRule and do a DNS reverse lookup on the VS IP to get a hostname that can be sent to the client in a redirect. This assumes that there is a DNS server which has valid PTR records for the virtual servers.
Aaron
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