After applying Eoin's addition to environment.rb, the URL
http://domain/app1
does correctly redirect to the default controller and method:
http://domain/app1/items/index
however when method 'items' redirects to method 'list', the output is
http://domain/items/list
(no app1)
which sends the app into an endless loop.
I keep getting the feeling the solution is somehow in routes.rb, but I don't know what. My routes.rb is very simple. The root route is:
map.connect '', :controller => 'items'
default route is the usual:
map.connect ':controller/:action/:id'
(I thought maybe changing the default route to map.connect '/app1/:controller/:action/:id' would work, but it gives a "recognition failed" error.
--
"Impossible is nothing."
_______________________________________________ Mongrel-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/mongrel-users
