Good evening. An unexpected upgrade to 6.0.0 (using sudo apt update
) seems to have inadvertently replaced my modified urlrewrite.xml with a fresh, default version. No biggie, I can re-add the Tuckey <rule>
again.
But … when I visit the documentation (URL Rewrites) to refresh myself on the subject, I’m seeing a suggestion that I move away from Tuckey-based rewrites and start adopting “Server Rules.”
I am seeing this is a new capability and apparently the future of CommandBox. However, I am really struggling to find straightforward information about URL rewrite capability with this “JBoss Undertow Predicate Language” online. From everything I can read and see, this is not something I can “read up” about – because JBoss Undertow Predicate Language is not just a simple coding language with examples. Instead, it seems CommandBox is providing a layer of abstraction over lower-level the JBoss Undertow server engine.
If so, I am wondering if the CommandBox documentation could be significantly expanded to better demonstrate the various approaches to URL rewrites? URL rewrites are pretty important, but it seems like (and I am not an expert by any means here, just a hobbyist, so I acknowledge I could be completely misunderstanding this) CommandBox is basically coming up with an entirely new, novel approach to URL rewrites, which seems largely undocumented save for one or two examples.
I’m OK with just continuing to use the Tuckey rewrites, I mean, they’re simple, they’re extremely well documented and understandable. But if the long-term plan is to phase Tuckey out and move to this proprietary, unique URL rewrite method for which I can find no other examples of usage on the internet, I could sure use a lot more examples of how to set up URL rewrites. You can see from this Google search that, basically, this method is not something with lots of documentation/support.
But, again, this Jboss Undertow Predicate Language is something totally new to me, and I recognize I may be totally misunderstanding it.