env.html revision e5d32bbbe4c57af5588de17167577c06f2da4cca
1689N/A<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
1689N/A<HTML>
1689N/A<HEAD>
1689N/A<TITLE>Special Purpose Environment Variables</TITLE>
1689N/A</HEAD>
1689N/A
1689N/A<!-- Background white, links blue (unvisited), navy (visited), red (active) -->
1689N/A<BODY
1689N/A BGCOLOR="#FFFFFF"
1689N/A TEXT="#000000"
1689N/A LINK="#0000FF"
1689N/A VLINK="#000080"
1689N/A ALINK="#FF0000"
1689N/A>
1689N/A<!--#include virtual="header.html" -->
1689N/A<H1 ALIGN="CENTER">Special Purpose Environment Variables</H1>
1689N/A<P>
1689N/AInteroperability problems have led to the introduction of
1689N/Amechanisms to modify the way Apache behaves when talking to particular
1689N/Aclients. To make these mechanisms as flexible as possible, they
1689N/Aare invoked by defining environment variables, typically with
1689N/A<A HREF="mod/mod_browser.html#browsermatch">BrowserMatch</A>, though
1689N/A<A HREF="mod/mod_env.html#setenv">SetEnv</A> and
1689N/A<A HREF="mod/mod_env.html#passenv">PassEnv</A> could also be used, for
5002N/Aexample.
6306N/A</P>
1689N/A
1689N/A<H2>downgrade-1.0</H2>
1689N/A<P>
2800N/AThis forces the request to be treated as a HTTP/1.0 request even if it
2800N/Awas in a later dialect.
3869N/A</P>
3869N/A
3869N/A<H2>force-no-vary</H2>
3869N/A<P>
3877N/AThis causes any <CODE>Vary</CODE> fields to be removed from the response
5131N/Aheader before it is sent back to the client. Some clients don't
3869N/Ainterpret this field correctly (see the
2800N/A<A HREF="misc/known_client_problems.html">known client problems</A>
5131N/Apage); setting this variable can work around this problem. Setting
5131N/Athis variable also implies <STRONG>force-response-1.0</STRONG>.
1689N/A</P>
3352N/A
1689N/A<H2>force-response-1.0</H2>
1689N/A<P>
1689N/AThis forces an HTTP/1.0 response when set. It was originally implemented as a
1689N/Aresult of a problem with AOL's proxies. Some clients may not behave correctly
1689N/Awhen given an HTTP/1.1 response, and this can be used to interoperate with
3853N/Athem.
1689N/A</P>
1689N/A
1689N/A<H2>nokeepalive</H2>
1689N/A<P>
2800N/AThis disables <A HREF="mod/core.html#keepalive">KeepAlive</A> when set. Because
3853N/Aof problems with Netscape 2.x and KeepAlive, we recommend the following
1689N/Adirective be used:
3869N/A</P>
3869N/A<PRE>
1689N/A BrowserMatch Mozilla/2 nokeepalive
2601N/A</PRE>
2601N/A
2601N/A<!--#include virtual="footer.html" -->
1689N/A</BODY>
2800N/A</HTML>
3853N/A