[ZT] add support for RAILS_RELATIVE_URL_ROOT