Reply To: migration 1.1.0 -> 2.0.0 simultaneous inbound and outbound rewriting problem

Splash Forums Rewrite Users migration 1.1.0 -> 2.0.0 simultaneous inbound and outbound rewriting problem Reply To: migration 1.1.0 -> 2.0.0 simultaneous inbound and outbound rewriting problem

#23683

kvdev
Participant

I’ve made a very simple test case. When calling /index in the browser no outbound rewriting is triggered.
When calling /pages/public/index.jsf outbound rewriting is triggered.


     .addRule()
      .when(Direction.isInbound().and(
            Path.matches("/index")
      )).perform(Forward.to("/pages/public/index.jsf"))
           			
               			
    .addRule()
     .when(Direction.isOutbound())
     .perform(Log.message(Level.INFO, "Rewrite outbound triggered."))