Add general purpose URL router based on configuration.