Forum Discussion
Tim_Cullen_8971
Nov 17, 2006Historic F5 Account
HTTP URI appending
I have looked through the posts and I see some "close" iRules but what I found hasn't worked.
The situation is this:
customer comes in to a site,
http://www.customer.com
...
JRahm
Admin
Nov 17, 2006Remove the brackets to set it, other wise it will return the value of HTTP::uri:
when HTTP_REQUEST {
if { [HTTP::uri] equals "/"} {
HTTP::uri "/Customer_uri_one"
}
HTTP::header replace Host: customer.com
}I don't know if it matters in your situation, but the case that you are setting in the rule is different than what you posted for your expected redirection in relation to Customer_uri_one.
HTH
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