6 Replies Latest reply on Oct 9, 2018 5:21 AM by Sergey Smirnov

    Tomcat 9 Redirect (RewriteValve)

    Sergey Smirnov

      Hello! ARS9.1.04/Tomcat9

      Try add redirect throught RewriteValve in Tomcat, check examples - https://communities.bmc.com/docs/DOC-103803#  - but still does not work.

      I try to change url:


      If only IP change:

      RewriteCond    %{HTTP_HOST}          !^.*1\.1\.1\.1/ [NC]
      RewriteRule      ^/(.*)$             http://2\.2\.2\.2/$1 [R]

      But i can't change server1 to server2