Is it possible to have rails ignore a given route?
Dunno, but by the time it's gotten to Rails, even if Rails did ignore it, what would happen? My guess is Rails would return a 404. It's too late to pass it back even if it knew how to do so.
Can I map a route so that rails will ignore, or not handle, the blog
request?
My 2 solutions are:
1) Move the app to a subdomain
Probably the simplest as it completely isolates them, but not strictly
necessary.
2) Move the app into a subdrectory
Doable. Configure your webserver (apache/litespeed/etc) to *not* pass any requests matching "/blog" on to rails, but to handle them however it would handle it normally.
One of these will work, but out of curiosity, the question stands.
Both will work as long as you configure it correctly.
Exactly the question I had in mind. I have my site and blog running
PHP and Wordpress. Only my site is being turned into RoR, blog will
remain as it is. It's important to maintain all links as it is. As is
written on Hostgator support page: http://forums.hostgator.com/showthread.php?t=13038
you have to create the .htaccess file and do the routing from there: