Forum Discussion
kincho_51094
Nimbostratus
Jul 10, 2010how to redirect in F5 balancers
Hi guys
I need help, I am really frustrated because I had request to configure one rule as below:
Example:
These are the webserver to be balanced
https://pcname01.domain.com/main
https://pcname02.domain.com/main
in https://dns.domain.com/main
but I didn't know how to do a redirect from https://dns.domain.com to https://dns.domain.com/main
Everytime when go to https://dns.domain.com I get the apache test page, but I need to the F5 sends me to https://dns.domain.com/main.
Where in the configuration of F5 can I add that header "main" to go there when I put the link in the browser https://dns.domain.com
in addition I would like to know how to configure how to send the request to https everytime when the users try to go to http://dns.domain.com
I mean to convert this http://dns.domain.com in this https://dns.domain.co
Thanks in advance
- kincho_51094
Nimbostratus
Thanks a lot Chris, your idea sounds great. - Chris_Miller
Altostratus
Posted By kincho on 07/10/2010 04:12 PM - hoolio
Cirrostratus
A small note:if { [string tolower [HTTP::host]] eq "dns.domain.com" and [HTTP::uri] eq "/"] } {
if { [string tolower [HTTP::host]][HTTP::uri] eq "dns.domain.com/" } {
- Chris_Miller
Altostratus
Posted By hoolio on 07/12/2010 03:58 AM A small note:if { [string tolower [HTTP::host]] eq "dns.domain.com" and [HTTP::uri] eq "/"] } {
if { [string tolower [HTTP::host]][HTTP::uri] eq "dns.domain.com/" } {
- The_Bhattman
Nimbostratus
Better yet. Why doesn't F5 just re-hire Hoolio provide him access to lab gear and have him run the forums. - Chris_Miller
Altostratus
Posted By Bhattman on 07/18/2010 05:29 AM
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