make URL configuration slightly easier to handle in the code.

Signed-off-by: Nick Minkler <sleaker@gmail.com>