Forum Discussion
GLF_77239
Nimbostratus
Thank you for your quick quick answer.
on point 1 what I am trying to do is mask the server name and port
on point 2 I would like to get a redirect irule from whatever the client is typing
HTTPS://yyyyyy.com/aaa or HTTP://yyyyyy.com/aaa to HTTPS://yyyyyy.com.
Do not worry about point 1 but at least get the irule for point 2
Thank you in advance
Richard
Vijay_E
Sep 18, 2016Cirrus
For better flow of answer, if you are posting something as a follow-up to an answer, add a "comment" instead of adding an "answer". It helps others to better understand the current status.
The server information won't be visible to the client. So, you don't really have to worry about it.
You would have to attach this iRule to the VS:443 & VS:80
when HTTP_REQUEST {
if { ([HTTP::host] eq "domain.com") and ([HTTP::uri] eq "/aaa") } {
HTTP::respond 301 Location "https://domain.com/"
}
}