Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 17874 invoked by uid 500); 7 Jun 2002 02:20:55 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 17861 invoked by uid 500); 7 Jun 2002 02:20:54 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 7 Jun 2002 02:20:53 -0000 Message-ID: <20020607022053.3659.qmail@icarus.apache.org> From: slive@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/docs/manual/mod mod_proxy.xml mod_proxy.html.en X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N slive 2002/06/06 19:20:53 Modified: docs/manual/mod mod_proxy.xml mod_proxy.html.en Log: Document that ProxyPass can't take a query string, but that RewriteRule can be used for reverse proxying with much more flexibility. Revision Changes Path 1.7 +7 -1 httpd-2.0/docs/manual/mod/mod_proxy.xml Index: mod_proxy.xml =================================================================== RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_proxy.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -b -u -r1.6 -r1.7 --- mod_proxy.xml 4 Jun 2002 20:34:59 -0000 1.6 +++ mod_proxy.xml 7 Jun 2002 02:20:53 -0000 1.7 @@ -449,7 +449,8 @@ the local server; the local server does not act as a proxy in the conventional sense, but appears to be a mirror of the remote server. path is the name of a local virtual path; -url is a partial URL for the remote server.

+url is a partial URL for the remote server and cannot +include a query string.

Suppose the local server has address http://wibble.org/; then

@@ -475,6 +476,11 @@ module="core">Location section, the first argument is ommitted and the local directory is obtained from the Location.

+ +

If you require a more flexible reverse-proxy configuration, see +the RewriteRule directive +with the [P] flag.

+ 1.6 +7 -1 httpd-2.0/docs/manual/mod/mod_proxy.html.en Index: mod_proxy.html.en =================================================================== RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_proxy.html.en,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -b -u -r1.5 -r1.6 --- mod_proxy.html.en 6 Jun 2002 07:26:00 -0000 1.5 +++ mod_proxy.html.en 7 Jun 2002 02:20:53 -0000 1.6 @@ -451,7 +451,8 @@ the local server; the local server does not act as a proxy in the conventional sense, but appears to be a mirror of the remote server. path is the name of a local virtual path; -url is a partial URL for the remote server.

+url is a partial URL for the remote server and cannot +include a query string.

Suppose the local server has address http://wibble.org/; then

@@ -475,6 +476,11 @@

When used inside a <Location> section, the first argument is ommitted and the local directory is obtained from the <Location>.

+ +

If you require a more flexible reverse-proxy configuration, see +the RewriteRule directive +with the [P] flag.

+

ProxyPassReverse Directive

Description: Adjusts the URL in HTTP response headers sent from a reverse proxied server
Syntax:ProxyPassReverse [path] url
Context:server config, virtual host
Status:Extension
Module:mod_proxy

This directive lets Apache adjust the URL in the Location,