From: Joshua Slive Date: Fri, 7 Jun 2002 02:20:53 +0000 (+0000) Subject: Document that ProxyPass can't take a query string, but that RewriteRule can be used X-Git-Tag: 2.0.37~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c9705ff48590ea05744c33b8b3d46c66b5e4a2b9;p=apache Document that ProxyPass can't take a query string, but that RewriteRule can be used for reverse proxying with much more flexibility. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95559 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_proxy.html.en b/docs/manual/mod/mod_proxy.html.en index 735a120ec3..c20c15fc5a 100644 --- a/docs/manual/mod/mod_proxy.html.en +++ b/docs/manual/mod/mod_proxy.html.en @@ -451,7 +451,8 @@ URL-spacepath 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 @@ a subdirectory. eg.

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, diff --git a/docs/manual/mod/mod_proxy.xml b/docs/manual/mod/mod_proxy.xml index f334f9402c..f50b542679 100644 --- a/docs/manual/mod/mod_proxy.xml +++ b/docs/manual/mod/mod_proxy.xml @@ -449,7 +449,8 @@ URL-space 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 @@ a subdirectory. eg.

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.

+