get location configuration from request context