Reply To: Multi tenand app with rewrite

Splash Forums Rewrite Users Multi tenand app with rewrite Reply To: Multi tenand app with rewrite

#25801

Roland
Participant

Thank you Christian,
It works.

now I have a legacy code which redirects me to /WEB-INF/**

I do not understand the fluid interface very well
for example I try to

.addRule().when(Path.matches("/WEB-INF/.*")).perform(Log.message(Level.INFO, "web-inf"))
.addRule(Join.path("/{organisation}/{path}").to("/{path}"))
			   .perform(Log.message(Level.INFO, "Forward to /{path}?organisation={organisation}"))
			   .where("path").matches(".*")

and it never hits the first rule

how could I exclude everything that goes to WEB-INF from my multitenant join rule?