Use apache in front
I do not know how to start with it, could you give me more advice?
Use mod_proxy feature of Apache
In Apache you can handle your URL with mod-rewrite in any way.
Actually, you can just play now with Apache to see it.