images

If mod_proxy is installed, mod_rewrite can be used to force requests through the proxy mechanism to another server, or perhaps to another part of the same server. This technique is used for a wide variety of purposes, such as load balancing and server migration. In this chapter, I’ll cover the syntax involved in rewriting to a proxy and discuss the various intricacies of this technique.

Apache comes with several modules that allow you to run a proxy server. With Apache 1.3, the caching and proxying functions are combined in mod_proxy. In 2.0, these functions are split into several submodules. And in 2.2, the proxying functionality was overhauled ...

Get The Definitive Guide to Apache mod_rewrite now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.