The WebMap Table is a useful built-in feature your site might want to make more use of. |
Inside the WebCrossing Control Panel > Web Services you’ll find an often overlooked, but extremely useful feature – the WebMap table (web request redirects). This table is a series of mappings from incoming URLs to the desired result, and makes use of advanced pattern matching. The table itself is a series of FROM/TO patterns, with each pattern delimited by blanks or new-lines. Some typical uses we make of this table include: (1) If you are confirming ownership of your site when installing an SSL certification, you might include a line like the following to allow the authentication URL to location an otherwise hidden directory beginning with a “.” in the name: /.well-known/* redo:/well-known/* This expression maps the incoming URL looking for the directory .well-known to the top-level directory well-known (no leading period), and the * applies a global pattern matching for all sub-directories. (2) In WebCrossing Neighbors, our private-label social network platform, we make use of this table to create short URLs pointing to member home spaces, with expressions like this: //janeadams.mysite.com/* webx:members/janeadams* In this case we want URLs going to https://mysite.com/janeadams (including sub-directories) to redirect, to a location inside the top-level “members” directory without showing that in the URL. This example also makes use of another WebCrossing feature which auto-maps top-level domains (e.g. janeadams.mysite.com) and treats them as paths in the URL (e.g. subdomain.domain/… to domain/subdomain/…). While expansive with lots of useful features, we know you might have some questions about it. Let us know if you have questions about making use of this feature. This update ensures complete documentation is present for the WebMap Table whether you have your map stored in an external separate file webx.webmap, or whether you edit the table directly in the control panel. This new build is WebCrossing 6.4-37beec5 2021-12-03. All self-hosted customers with valid support and maintenance contracts can download this new version at no cost. f you are a self-hosted customer and have a valid support and maintenance contract, please contact support for access to the new server. If your support and maintenance contract has expired, please contact us to renew so we can provide you with this update. |