in reply to Mojolicious url rewriting
Thank you @haukex. Your example works awesome and it helps me understand the overall idea how routing is working in Mojo.
Thank you @Bod. Yes, my original thought arose from htaccess-based url rewriting as shown here (and in detail in your link): https://webrewrite.com/url-rewriting-htaccess . So, I was wondering how something similar could be done in a Mojo code; and which one should be preferred.