Techniques for modifying requests or browser viewable documents (e.g.,
markup language documents) are described. By modifying requests or
browser viewable documents, access to resources residing on remote
servers through an intermediate server is facilitated. In one embodiment,
Universal Resource Locators (URLs) associated with requests or markup
language documents are modified. The techniques are suitable for both
secure and unsecure requests. The techniques can also modify requests or
browser viewable documents at the intermediate server, a client device,
or both.