I have switched to Ruby on Rails and my current problem is to reroute
the old contents like XXX/dummy.html
or XXX/dummy.php
in RoR.
What ex
What do you mean by migrating? I recommend to redirect clients to use the RoR URLs. This can be done using HTTP 301 status codes. See http://en.wikipedia.org/wiki/HTTP_301:
The HTTP response status code 301 Moved Permanently is used for permanent redirection.
This can be done in the configuration of your HTTP server.