Added RAILS_RELATIVE_URL_ROOT support