Make url root configurable.

FYI: @sstarcher