better support for virtual url configuration