Forum Discussion
Michael_107360
Cirrus
Dec 10, 2013HTTP2HTTPS HTTPS/URI issue
When you type in:
www.website.xyz you go to:
https://www.website.xyz/specific_uri
when you type in:
www.website.xyz/anotherwebpage you go to:
https://www.website.xyz/anyother_uri
This is the Iru...
Kevin_Stewart
Employee
Dec 11, 2013If I understand your question, you have a redirect iRule on your port 80 VIP, which should probably look more like this:
when HTTP_REQUEST {
if {[HTTP::uri] equals "/" } {
HTTP::redirect "https://[HTTP::host]/specific_uri"
} else {
HTTP::redirect "https://[HTTP::host][HTTP::uri]"
}
}
You can then add any iRule you need on your port 443 VIP.
when HTTP_REQUEST {
if { [HTTP::uri] equals "/" } {
HTTP::redirect "https://[HTTP::host]/specific_uri"
}
}
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