On a slightly different note one of my friends suggested the following:

You can probably make the app (apache, lighttpd or whatever) which is
calling mongrel or the .fcgi re-write URLs so that e.g.
 http://www.site.com/:controller/:action

looks like:
 http://.../:site/:controller/:action

and modify routes.rb, as I've done this myself, to skin an identical
site in different ways. Maybe you could even re-write as below, saving
yourself the route changes and maximising the separation:
 http://.../:site_controller/:action

Which seems like a good plan? That way I can create controllers for each 
site and I can (presumably) inherit from a default controller for each 
case. What do people think? Does this actually help me at all?

Thanks
Jay

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to