HTTP Template Redirect Rewrite

Hi all,
I'm trying to do Rewrite with an HTTP template but I can't understand how it works. I configured correctly the template to balance on the service group inside the app swithcing part but I also want to redirect as shown below:

When client request www.example.com I want rewrite to example.com/pwm

So my rule on the template is:

Pattern: /
Redirect To: /pwm

Unfortunately it doesn't work at all what I'm doing wrong? I don't want to use AFLEX to do a simple task!

Thanks

Luca

Comments

  • edited January 2018
    Hi Luca,

    You can't do a change to the URI without using aFlex, and you can't do such change by using a test without the need for aFlex again, I'm afraid.

    Then, are you looking into rewriting the URI asked by the client before sending it to the server, or are you looking into sending a redirect (HTTP code 302 for instance), to the client when he wants to access this particular URI "/" ?

    Cheers,

    Manuel
Sign In or Register to comment.