UseCanonicalName off If your Apache server becomes unreachable whenever the server issues a redirect, it may be because the canonical name of your host is inaccessible from outside your network or incorrect. For example, a ServerName set to localhost, 127.0.0.1, or a private address will be inaccessible if the server redirects the user to a URL based on these values. To solve this problem, provide a valid ServerName or set UseCanonicalName to "off" so that self-referential URLs are constructed with the hostname provided by the client. This is a common issue with machines behind a reverse proxy, which is discussed in Chapter 10. |