Config 4.2: Rerouting

If Case is Reroute, Genelet will internally re-write the URL into a new URL in the standard format:


So you need to at least map out, or by assignment, the triplet {role, tag, component} in order to rewrite meaningfully. If role is a login role, a proper authentication is automatically enforced.

Here is an example of pattern:

"Reg": "^\/(\w+)/(\d+)-([\w\_]+)\.(\w+)\/$"
"Mats": ["role", "book_id", "subject", "tag"]
"Case": "Reroute"
"Que": "component=book&action=edit"

So a GET request to


will be re-written internally to