I want to use Rails 3 new subdomain features to handle all subdomain paths except www and nil.
Contrary to the second rails application, I only want to handle www and nil in the url.
What would my two VirtualHost entries look like for Apache using Passenger? And in the code for the first application for processing subdomains, while I process the new discovered: limiting the subdomain in the routes correctly ignore www and nil, should this prevent any conflict correctly?
Thanks for any input.
source
share