I always thought that using c.a.relative_url_root is the way to configure when you deploy to a subdir
Reinier > -----Oorspronkelijk bericht----- > Van: [EMAIL PROTECTED] [mailto:tracks- > [EMAIL PROTECTED] Namens Hans de Graaff > Verzonden: zaterdag 6 december 2008 14:44 > Aan: [email protected] > Onderwerp: Re: [Tracks-discuss] rails upgrade in master > > On Wed, 2008-12-03 at 10:42 +0100, Reinier Balt wrote: > > Hi All, > > > > I've just merged the upgrade work of Luke and myself into master. > This > > means that master is running on rails 2.2.2. A lot of plugins are > > upgraded (see the commit logs) and everything seems to work, besides > > one small problem on editing projects (editing works, but results in > javascript in the browser. > > Something with the autocompleter. Just reload) > > > > Please help out by testing and reporting any problems (patches are > > welcome too :-) > > Hosting on a relative URL no longer works (i.e. running tracks on > something like http://localhost/tracks/ ) > > This seems to be related to > http://rails.lighthouseapp.com/projects/8994/tickets/1314-an- > routingerror-of-prefix-path > > Based on the diff in that bug I added this to environment.rb and things > started working again: > > + config.action_controller.relative_url_root = '/tracks' > > I'm not sure if this is a bug or just how this needs to be handled in > the future. > > Kind regards, > > Hans _______________________________________________ Tracks-discuss mailing list [email protected] http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss
