Forum Discussion
Daniel_104050
Aug 23, 2012Nimbostratus
Re-direct question
I am new to F5 and I don't know how to word the search to find an answer so please bear with me. I have external users going to a site that is having its name changed. I want to do a redire...
nitass
Aug 23, 2012Employee
is it same vip or different one?
if it is different one, can you try something like this?
[root@ve10:Active] config b virtual bar list
virtual bar {
destination 172.28.19.79:443
ip protocol 6
rules myrule
profiles {
clientssl {
clientside
}
http {}
tcp {}
}
}
b[root@ve10:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
if {[string tolower [HTTP::host]] equals "abc.com"} {
HTTP::respond 301 Location "https://newabc.com[HTTP::uri]"
}
}
}
[root@ve10:Active] config curl -Ik https://172.28.19.79/something -H "Host: abc.com"
HTTP/1.0 301 Moved Permanently
Location: https://newabc.com/something
Server: BigIP
Connection: Keep-Alive
Content-Length: 0
if it is same one, you may check about sni.
sol13452: Configuring a virtual server to serve multiple HTTPS sites using TLS Server Name Indication (SNI) feature
http://support.f5.com/kb/en-us/solutions/public/13000/400/sol13452.html
Multiple Certs, One VIP: TLS Server Name Indication via iRules by Colin
https://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/1086451/Multiple-Certs-One-VIP-TLS-Server-Name-Indication-via-iRules.aspx
hope this helps.
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