From dab2730953286b3300c5f222fd0639e61bfb2d97 Mon Sep 17 00:00:00 2001
From: Ian Holsman
Date: Tue, 4 Jun 2002 20:34:59 +0000
Subject: [PATCH] hope I did this right /me crosses fingers
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95513 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/mod/mod_proxy.xml | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/docs/manual/mod/mod_proxy.xml b/docs/manual/mod/mod_proxy.xml
index 51d8943410..f334f9402c 100644
--- a/docs/manual/mod/mod_proxy.xml
+++ b/docs/manual/mod/mod_proxy.xml
@@ -58,6 +58,7 @@ dangerous both to your network and to the Internet at large.
proxy module?
What other functions are useful for an intranet proxy server?
+How can I make the proxy talk HTTP/1.0 and disable keepalives?
Forward and Reverse Proxies
@@ -254,6 +255,24 @@ is used and the server is configured for
proxy service, Apache can return a redirect response and send the client
to the correct, fully qualified, server address. This is the preferred method
since the user's bookmark files will then contain fully qualified hosts.
+
+How can I make the proxy talk HTTP/1.0 and
+disable keepalives?
+
+For circumstances where you have a application server which doesn't implement
+keepalives or HTTP/1.1 properly, there are 2 environment variables which when
+set send a HTTP/1.0 with no keepalive. These are set via the SetEnv directive.
+These are the 'force-proxy-request-1.0' and 'proxy-nokeepalive' notes.
+
+
+<location /buggyappserver/ >
+ProxyPass http://buggyappserver:7001/foo/
+SetEnv force-proxy-request-1.0 1
+SetEnv proxy-nokeepalive 1
+</location>
+
+
--
2.40.0