env.html revision f9b3be308809978f797e0c57b296147532a4313c
080575042aba2197b425ebfd52061dea061a9aa1xy<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
080575042aba2197b425ebfd52061dea061a9aa1xy<HTML>
080575042aba2197b425ebfd52061dea061a9aa1xy<HEAD>
080575042aba2197b425ebfd52061dea061a9aa1xy<TITLE>Special Purpose Environment Variables</TITLE>
080575042aba2197b425ebfd52061dea061a9aa1xy</HEAD>
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xy<!-- Background white, links blue (unvisited), navy (visited), red (active) -->
080575042aba2197b425ebfd52061dea061a9aa1xy<BODY
d5c3073dbbd835e1e9b7dca0c6c770cf3cc20afachenlu chen - Sun Microsystems - Beijing China BGCOLOR="#FFFFFF"
080575042aba2197b425ebfd52061dea061a9aa1xy TEXT="#000000"
080575042aba2197b425ebfd52061dea061a9aa1xy LINK="#0000FF"
080575042aba2197b425ebfd52061dea061a9aa1xy VLINK="#000080"
080575042aba2197b425ebfd52061dea061a9aa1xy ALINK="#FF0000"
080575042aba2197b425ebfd52061dea061a9aa1xy>
080575042aba2197b425ebfd52061dea061a9aa1xy<!--#include virtual="header.html" -->
080575042aba2197b425ebfd52061dea061a9aa1xy<h1 ALIGN="CENTER">Special Purpose Environment Variables</H1>
080575042aba2197b425ebfd52061dea061a9aa1xy<P>Interoperability problems have led to the introduction of
080575042aba2197b425ebfd52061dea061a9aa1xymechanisms to modify the way Apache behaves when talking to particular
080575042aba2197b425ebfd52061dea061a9aa1xyclients. To make these mechanisms as flexible as possible, they
080575042aba2197b425ebfd52061dea061a9aa1xyare invoked by defining environment variables, typically with
080575042aba2197b425ebfd52061dea061a9aa1xy<A HREF="mod/mod_browser.html#browsermatch">BrowserMatch</A>, though
3fb4efef75bbb3a06a68d5ff59c33df03c73f6c9changqing li - Sun Microsystems - Beijing China<A HREF="mod/mod_env.html#setenv">SetEnv</A> and
080575042aba2197b425ebfd52061dea061a9aa1xy<A HREF="mod/mod_env.html#passenv">PassEnv</A> could also be used, for
080575042aba2197b425ebfd52061dea061a9aa1xyexample.</P>
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xy<H2>nokeepalive</H2>
080575042aba2197b425ebfd52061dea061a9aa1xyThis disables <A HREF="mod/core.html#keepalive">KeepAlive</A> when set. Because
080575042aba2197b425ebfd52061dea061a9aa1xyof problems with Netscape 2.x and KeepAlive, we recommend the following
080575042aba2197b425ebfd52061dea061a9aa1xydirective be used:
080575042aba2197b425ebfd52061dea061a9aa1xy<BLOCKQUOTE><CODE>
080575042aba2197b425ebfd52061dea061a9aa1xyBrowserMatch Mozilla/2 nokeepalive
25f2d433de915875c8393f0b0dc14aa155997ad0xy</CODE></BLOCKQUOTE>
25f2d433de915875c8393f0b0dc14aa155997ad0xy
25f2d433de915875c8393f0b0dc14aa155997ad0xy<H2>force-response-1.0</H2>
080575042aba2197b425ebfd52061dea061a9aa1xyThis forces an HTTP/1.0 response when set. It was originally implemented as a
25f2d433de915875c8393f0b0dc14aa155997ad0xyresult of a problem with AOL's proxies. Some clients may not behave correctly
080575042aba2197b425ebfd52061dea061a9aa1xywhen given an HTTP/1.1 response, and this can be used to interoperate with
080575042aba2197b425ebfd52061dea061a9aa1xythem.
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xy<H2>downgrade-1.0</H2>
080575042aba2197b425ebfd52061dea061a9aa1xy<P>This forces the request to be treated as a HTTP/1.0 request even if it
080575042aba2197b425ebfd52061dea061a9aa1xywas in a later dialect.
080575042aba2197b425ebfd52061dea061a9aa1xy
54e0d7a5e8285a3f01a0db8db1246ac7cac94d81Miles Xu, Sun Microsystems<!--#include virtual="footer.html" -->
080575042aba2197b425ebfd52061dea061a9aa1xy</BODY>
080575042aba2197b425ebfd52061dea061a9aa1xy</HTML>
080575042aba2197b425ebfd52061dea061a9aa1xy