HTTP Template Redirect Rewrite

Community Forum Forums Thunder and AX Series General HTTP Template Redirect Rewrite

This topic contains 1 reply, has 2 voices, and was last updated by avatar manuelm 5 months, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13542
    avatar
    luca.dm
    Member

    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 http://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

    #13582
    avatar
    manuelm
    Member

    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

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Comments are closed.