Abstract:
A computer implemented method, a computer system or a nontransitory computer readable storage medium for matching a URL with one of a plurality of web sites. The method, system or medium may be configured for use with a device having one or more processors and a memory storing one or more programs for execution by the one or more processors. The one or more programs may include instructions for: capturing an HTTP request and a Web application context, resolving a match context for the HTTP request and the Web application context, resolving a set of top-level rules for evaluating the HTTP request and the Web application context, evaluating the match context against a first rule among the top-level rules, and invoking an action for modifying one or more of the HTTP request, the Web application context, and the match context.