Dr. Matt Lee (mattl)

Web standards, accessibility, free/open source software, old UNIX/TV/Music and occasional wargaming

Setting rails root (2006)

<johnl> hey matt, do you remember how to tell rails that it’s hosted in a subdirectory of the root
<mattl> nope. not ever done that.
<johnl> ah: ActionController::AbstractRequest.relative_url_root
<johnl> in environment.rb
<mattl> so that’s if i wanted to have http://mattl.co.uk/railsforum/ instead of http://railsforum.mattl.co.uk/ ?
<johnl> yer

Published: Wed Aug 16 2006 15:28:37 GMT-0400 (Eastern Daylight Time) by