CPC H04L 67/02 (2013.01) [G06F 16/245 (2019.01); G06F 16/951 (2019.01); G06F 16/953 (2019.01); G06F 16/9566 (2019.01); H04L 65/403 (2013.01); H04L 67/10 (2013.01); H04L 67/104 (2013.01); H04L 67/60 (2022.05)] | 17 Claims |
1. A computer-implemented method for redirecting a request, the computer-implemented method comprising:
receiving the request from a computing device associated with a tenant of a multi-tenant distributed collaboration system, wherein the request includes a uniform resource locator (URL) that includes a name of a site associated with the tenant;
extracting the name of the site from the URL;
querying a site map table based on the name of the site to retrieve a site map table entry associated with the site;
determining whether the site map table entry includes a redirect URL associated with the site, wherein:
the redirect URL is added to the site map table entry in response to an operation that moves the tenant to a different server farm, and
the redirect URL is addressed to the different server farm;
in response to determining that the site map table entry includes the redirect URL:
extracting a resource identifier from the URL, wherein the resource identifier includes a part of the URL and does not include all of the URL;
adding the resource identifier extracted from the URL to the redirect URL; and
responding to the request with a response message that includes the redirect URL.
|