Reply To: Matching rule with same pattern

Splash Forums Rewrite Users Matching rule with same pattern Reply To: Matching rule with same pattern

#26896

Could you post the error message?

Also, a question… Why are you matching “first” as a parameter at all? Why not just do this?

Join.path("/first{someId}").to("/first.xhtml")

alternatively you could do this:

.addRule(Join.path("/{prefix}{someId}").to("/{prefix}.xhtml")).where("prefix").matches("(first)")

That way “prefix” would actually have a value on outbound generation.