env.html revision bf3d9f591e5af24fdcaa9029094dc045878d1d1a
8c294c1cd4d721818a59684cf7f2b36123f79163Stephen Gallagher<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
8c294c1cd4d721818a59684cf7f2b36123f79163Stephen Gallagher<TITLE>Special Purpose Environment Variables</TITLE>
9542512d7be40f2000298c86d3d2b728f4f0f65aStephen Gallagher<!-- Background white, links blue (unvisited), navy (visited), red (active) -->
9542512d7be40f2000298c86d3d2b728f4f0f65aStephen Gallagher BGCOLOR="#FFFFFF"
c6e39e15178675d0779e0ae855245774a09b4eb5Nikolai Kondrashov TEXT="#000000"
c6e39e15178675d0779e0ae855245774a09b4eb5Nikolai Kondrashov LINK="#0000FF"
c6e39e15178675d0779e0ae855245774a09b4eb5Nikolai Kondrashov VLINK="#000080"
c6e39e15178675d0779e0ae855245774a09b4eb5Nikolai Kondrashov ALINK="#FF0000"
29c5542feb4c45865ea61be97e0e84a1d1f04918Jakub Hrozek<!--#include virtual="header.html" -->
29c5542feb4c45865ea61be97e0e84a1d1f04918Jakub Hrozek<h1 ALIGN="CENTER">Special Purpose Environment Variables</h1>
fd5a4eacd56700ffb08a73121aeacdc806cb0132Sumit Bose<P>Interoperability problems have led to the introduction of
8b1f525acd20f36c836e827de3c251088961c5d9Stephen Gallaghermechanisms to modify the way Apache behaves when talking to particular
8b1f525acd20f36c836e827de3c251088961c5d9Stephen Gallagherclients. To make these mechanisms as flexible as possible, they
8b1f525acd20f36c836e827de3c251088961c5d9Stephen Gallagherare invoked by defining environment variables, typically with
8b1f525acd20f36c836e827de3c251088961c5d9Stephen Gallagher<A HREF="mod/mod_browser.html#browsermatch">BrowserMatch</A>, though
8b1f525acd20f36c836e827de3c251088961c5d9Stephen Gallagher<A HREF="mod/mod_env.html#setenv">SetEnv</A> and
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher<A HREF="mod/mod_env.html#passenv">PassEnv</A> could also be used, for
df4cc3a83c5d6700b6a09ff96cb4a6b1949b1aa9Stephen GallagherThis disables <A HREF="mod/core.html#keepalive">KeepAlive</A> when set. Because
df4cc3a83c5d6700b6a09ff96cb4a6b1949b1aa9Stephen Gallagherof problems with Netscape 2.x and KeepAlive, we recommend the following
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherdirective be used:
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherBrowserMatch Mozilla/2 nokeepalive
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherThis forces an HTTP/1.0 response when set. It was originally implemented as a
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherresult of a problem with AOL's proxies. Some clients may not behave correctly
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherwhen given an HTTP/1.1 response, and this can be used to interoperate with
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher<!--#include virtual="footer.html" -->