Forum Discussion
Need help in Irule redirection for multiple sites.
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"
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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