mod-web-server URL Mapping

30 views
Skip to first unread message

Arseny Yankovsky

unread,
Jun 22, 2014, 1:37:33 PM6/22/14
to ve...@googlegroups.com
I think it will be nice to allow users to define url mappings for static files in configuration. The idea is that you can configure server to resolve posts.html file by url /posts or /posts/page/3. User can achieve that functionality right now using StaticFileHandler with his own RouteMatcher, but I think it's nice to have it out-of-box.

I've implemented this in my pull request. Now you can configure regex pattern to serve static files via config.json. You can check it here: https://github.com/vert-x/mod-web-server/pull/20

Let me know what you guys think of it. Thanks for your attention.
Reply all
Reply to author
Forward
0 new messages