Forum Discussion
nitass
Jan 14, 2012Employee
if a user went to https://xxx.b.com/test, nothing happened no logging user gets page cannot be displayed. i think i may be missing something, do i need to setup a separate vs on https 443?yes since even xxx.b.com is resolved to aaa.b.com but user is still accessing https (443).
e.g.
[root@ve1023:Active] config b virtual aaa.b.com.80 list
virtual aaa.b.com.80 {
snat automap
pool foo
destination 172.28.19.79:80
ip protocol 6
profiles {
http {}
tcp {}
}
}
[root@ve1023:Active] config b virtual aaa.b.com.443 list
virtual aaa.b.com.443 {
destination 172.28.19.79:443
ip protocol 6
rules myrule
profiles {
clientssl {
clientside
}
http {}
tcp {}
}
}
[root@ve1023:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
if {[string tolower [HTTP::host]] equals "xxx.b.com"} {
HTTP::redirect "http://aaa.b.com[HTTP::uri]"
}
}
}
[root@ve1023:Active] config curl -Ik https://xxx.b.com/test
HTTP/1.0 302 Found
Location: http://aaa.b.com/test
Server: BigIP
Connection: Keep-Alive
Content-Length: 0