Forum Discussion
nitass_89166
Noctilucent
our requirement is any lan user access sites via http than it should be http if lan users type https than it should redirect to http. similarly if any internet users access sites via http than it should redirect to https.
can't we just use simple http/https redirection?
for example, https redirection in internet http virtual server
HTTP::redirect https://[HTTP::host][HTTP::uri]
http redirection in internal https virtual server.
HTTP::redirect http://[HTTP::host][HTTP::uri]
in addition to it i need to redirect below redirection in same irule please guide me how to do this.
is it something like this?
internet https virtual server
when HTTP_REQUEST {
if { [HTTP::host] equals "asites.abc.com" and [HTTP::uri] equals "/xyz/finance" } {
HTTP::redirect "http://asites.internet.abc.com/sites/finance"
}
}
ShakN_167332
Aug 21, 2014Nimbostratus
thank you let me try this and i will get back to you.