Forum Discussion
ghost-rider_124
Nimbostratus
Apr 12, 2014IRULE for Redirect, Append and Rewrite
Hello Experts
I want to write irule for below requirement. Please help me out
1- http://www.abc.com/ -> https://www.abc.com/test/login.aspx (http to https and append test/login.aspx to www...
Apr 13, 2014
Number 1 and 2 is pretty straight forward but as for number 3 I would insist on that it was made in the code if I were you.
Changing any references in the code via the load balancer instead of thesource would take up unnecessary resources.
If I understood your question number 1 and two should be covered by this iRule:
when HTTP_REQUEST {
if { [HTTP::uri] -eq "/" } {
HTTP::respond 301 location "https://www.abc.com/test/login.aspx"
}
}/Patrik
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects