search for: urlroot

Displaying 1 result from an estimated 1 matches for "urlroot".

2006 Jul 28
0
URL root/serving more than one app per subdomain
...different ports, except that Mongrel can''t find the stylesheets and other "assets". That is, the app runs fine, but looks awful and has no javascript. Yesterday as I was setting this up, I managed to get it to work by hacking Mongrel itself. i added a "-u" (--urlroot) flag to mongrel_rails, added a @urlroot variable to the RailsHandler, and added the following lines to change the request path: In rails.rb/RailsHandler#process path_info = path_info[@urlroot.length, path_info.length- @urlroot.length] unless @urlroot.nil? or path_info[0, at urlroot.length]!...