Passenger lets you create virtual hosts in this manner. Julian.
On 25/11/2008, at 7:26 PM, weepy wrote: > > Hi > > One thing that (at least for me) holds back the deployability of > Rails/ > Merb is the requirement to server from the root. Ie http:// > domainname:port/ > > It would be very useful to be able to server from any path (without > funking with Apache rewrites). > > The only thing I can think of here is to have some configuration > option such as: > > root_prefix = "/labs" > > which would be prepended to all absolute urls that helpers produce and > the router would chomp off. The only other annoyance would be that all > path in views would have to be handled by helpers. > > Is this feasible? Or maybe there's a better way (relative paths seems > way off). I could ask this at Rails but you Merb guys are alot more > accomodating :) > > weepy ;...( > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
