Forum Discussion
Redirect or Append URI with a new path /newpath, for a https website.
- Jun 04, 2014
You should be able to use the same iRule on your 443 virtual server as long as you apply a client SSL profile. If your servers on the back end are expecting SSL, then yes you will need to apply a server SSL profile as well. The standard serverssl profile will do in most cases unless the server is doing some kind of certificate based authentication.
when HTTP_REQUEST {
if {[HTTP::host] eq "vanityname" || [HTTP::host] eq "vanityname.mycomp.com" } {
HTTP::redirect "https://exam.mycomp.com/newpath/"
} }
So I confirmed this works on port80/http.
Unfortunately, I need to get this working on port443/https on the virtual server and the backend nodes in the pool.
I know I probably need a client ssl profile, but do I need a server ssl profile for the backend nodes listening on 443?
Does the client ssl profile use the same certificate as the server ssl profile? Should the certificate be for the vanityname or the actual name?
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