Redirections Do Not Work


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.




Apache(c) Phrase Book(c) Essential Code and Commands
Apache Phrasebook
ISBN: 0672328364
EAN: 2147483647
Year: 2006
Pages: 254

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net