This section presents a discussion of the operation of domain rewriting rules: how an address is parsed and then transformed via rewrite rules. This section touches briefly on the syntax of rewrite rules as such syntax relates to example addresses, but for full details on rewrite rule syntax, see Section 2.2.4 and Section 2.2.5 below.
There are four steps in the application of the domain rewriting rules to a given address:
These four steps are described in detail in the following subsections. There are also special template formats which allow for variations in these four steps.