Forum Discussion
nitass
Jan 11, 2012Employee
can you try this?
[root@ve1023:Active] config b virtual bar list
virtual bar {
destination 172.28.19.79:80
ip protocol 6
rules myrule
profiles {
http {}
tcp {}
}
}
[root@ve1023:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
HTTP::respond 302 noserver Location "https://[HTTP::host][HTTP::uri]"
}
}
[root@ve1023:Active] config curl -I http://172.28.19.79/test
HTTP/1.0 302 Found
Location: https://172.28.19.79/test
Connection: Keep-Alive
Content-Length: 0