]> granicus.if.org Git - apache/commitdiff
Quote path/URL arguments to Proxy* directives.
authorKen Coar <coar@apache.org>
Wed, 15 Apr 2015 18:51:11 +0000 (18:51 +0000)
committerKen Coar <coar@apache.org>
Wed, 15 Apr 2015 18:51:11 +0000 (18:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1673930 13f79535-47bb-0310-9956-ffa450edef68

56 files changed:
docs/manual/howto/cgi.xml.fr
docs/manual/howto/cgi.xml.ja
docs/manual/howto/cgi.xml.ko
docs/manual/misc/perf-tuning.xml.fr
docs/manual/misc/perf-tuning.xml.ko
docs/manual/misc/perf-tuning.xml.tr
docs/manual/mod/core.xml.de
docs/manual/mod/core.xml.es
docs/manual/mod/core.xml.fr
docs/manual/mod/core.xml.ja
docs/manual/mod/core.xml.tr
docs/manual/mod/mod_deflate.html.en
docs/manual/mod/mod_deflate.xml
docs/manual/mod/mod_macro.xml.fr
docs/manual/mod/mod_proxy.html.en
docs/manual/mod/mod_proxy.xml
docs/manual/mod/mod_proxy_ajp.html.en
docs/manual/mod/mod_proxy_ajp.xml
docs/manual/mod/mod_proxy_balancer.html.en
docs/manual/mod/mod_proxy_balancer.xml
docs/manual/mod/mod_proxy_express.html.en
docs/manual/mod/mod_proxy_express.xml
docs/manual/mod/mod_proxy_fcgi.html.en
docs/manual/mod/mod_proxy_fcgi.xml
docs/manual/mod/mod_proxy_scgi.html.en
docs/manual/mod/mod_proxy_scgi.xml
docs/manual/mod/mod_proxy_wstunnel.html.en
docs/manual/mod/mod_proxy_wstunnel.xml
docs/manual/mod/mod_rewrite.xml.fr
docs/manual/mod/mod_substitute.html.en
docs/manual/mod/mod_substitute.xml
docs/manual/mod/mod_vhost_alias.xml.tr
docs/manual/rewrite/proxy.html.en
docs/manual/rewrite/proxy.xml
docs/manual/sections.html.en
docs/manual/sections.xml
docs/manual/urlmapping.html.en
docs/manual/urlmapping.xml
docs/manual/vhosts/examples.html.en
docs/manual/vhosts/examples.html.fr
docs/manual/vhosts/examples.xml
docs/manual/vhosts/examples.xml.fr
docs/manual/vhosts/examples.xml.ja
docs/manual/vhosts/examples.xml.ko
docs/manual/vhosts/examples.xml.meta
docs/manual/vhosts/examples.xml.tr
docs/manual/vhosts/mass.xml.fr
docs/manual/vhosts/mass.xml.ko
docs/manual/vhosts/mass.xml.tr
docs/manual/vhosts/name-based.html.fr
docs/manual/vhosts/name-based.xml.de
docs/manual/vhosts/name-based.xml.fr
docs/manual/vhosts/name-based.xml.ja
docs/manual/vhosts/name-based.xml.ko
docs/manual/vhosts/name-based.xml.meta
docs/manual/vhosts/name-based.xml.tr

index fb3560586cea82a53d5dee2054662270caff3087..1e3425fe11194406bcab5c039c30fcd77cb4db50 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="ISO-8859-1" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1336196:1673892 (outdated) -->
+<!-- English Revision: 1336196:1673917 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index b4dc3af962bc6b769b7961f1b324f46d06397357..d92899ceba519c4b0081f69450feacc374fc80bb 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 545841:1673892 (outdated) -->
+<!-- English Revision: 545841:1673917 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 20733b4e3f139279bb67284b4604c8893752b0c7..f56193d4a3d5dd4c061443e6b5bc6c45a85dd5f6 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='EUC-KR' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 105989:1673892 (outdated) -->
+<!-- English Revision: 105989:1673917 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index c0fa9c040ae8eef45f166f23bc5dad8e4ec558bc..6825728c6e649d2cf24b20ea9e8ec4221e36fdd8 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="ISO-8859-1" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1379836:1673892 (outdated) -->
+<!-- English Revision: 1379836:1673917 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index dcc1e054142cabbf4f4f79d28eec6c28d4b12d73..293913b33f4350e3a9e42719d5d72a86e5833925 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="EUC-KR" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 105989:1673892 (outdated) -->
+<!-- English Revision: 105989:1673917 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 936f5d6f0a1bc8e8fd6dfd4ea20e2fbdc14ec136..035344ead8a19851501bc6822d395890396fa225 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1174747:1673892 (outdated) -->
+<!-- English Revision: 1174747:1673917 (outdated) -->
 <!-- =====================================================
  Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
    Reviewed by: Orhan Berent <berent belgeler.org>
index ac4be975b29e2291e9678a8021daaae41ba42221..0034c0e5aec834acf7adcc9d363562f4f7d8c340 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.de.xsl"?>
-<!-- English Revision: 344972:1673892 (outdated) -->
+<!-- English Revision: 344972:1673917 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 7aa7dc3771eac035079c785abfdeab430b7f85d0..9acd53faebca64752cda1c7eeeec182d10dd01c5 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?>
-<!-- English Revision: 1040494:1673892 (outdated) -->
+<!-- English Revision: 1040494:1673917 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index e29b0df51a9e44067fc84133cd82696acf6c3072..fe87e5dadb52b51cb5ea3fbded71ff923868788a 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1664071:1673892 (outdated) -->
+<!-- English Revision: 1664071:1673917 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index 6e7337df6ef0a9834f7095ac07612e2047c7d547..f061198bc826464b2fb5c946425233a3e4c392f2 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 669847:1673892 (outdated) -->
+<!-- English Revision: 669847:1673917 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 5f0194289e14f2072b0c5ebaf3c0105792392e43..90aa2d1ad584527fbd3be40b5ee1807dc608adde 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1302855:1673892 (outdated) -->
+<!-- English Revision: 1302855:1673917 (outdated) -->
 <!-- =====================================================
  Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
    Reviewed by: Orhan Berent <berent belgeler.org>
index 0a8eac62a56ea439843c59acf10c4ef9fafbe015..6f71c94152798c2eeb37946808a7c6f8b9af8a35 100644 (file)
@@ -125,7 +125,7 @@ SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip</pre>
       the output filter chain using <code class="directive"><a href="../mod/core.html#setoutputfilter">SetOutputFilter</a></code> or <code class="directive"><a href="../mod/mod_mime.html#addoutputfilter">AddOutputFilter</a></code>, for example:</p>
 
       <pre class="prettyprint lang-config">&lt;Location "/dav-area"&gt;
-    ProxyPass http://example.com/
+    ProxyPass "http://example.com/"
     SetOutputFilter INFLATE
 &lt;/Location&gt;</pre>
 
index ff709164cb306aa937b6752e89563d96f29197e2..d13988422ec20e907654b0627a3bd825d62bb54c 100644 (file)
@@ -105,7 +105,7 @@ SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip
 
       <highlight language="config">
 &lt;Location "/dav-area"&gt;
-    ProxyPass http://example.com/
+    ProxyPass "http://example.com/"
     SetOutputFilter INFLATE
 &lt;/Location&gt;
       </highlight>
index 0c8a0b0b9a11aa4d8e0b6b31a53699879f7b3f50..bb45eaa84ccf9e43d363ba1ee74afbb63dfdb17a 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1533274:1673892 (outdated) -->
+<!-- English Revision: 1533274:1673917 (outdated) -->
 <!-- French translation: Fabien Coelho -->
 <!-- Updated by Lucien Gentis -->
 
index 6d295018f4ed6f488d51f609995cc69b6559c383..36ee67e1365dfe6fae8625cccf9b63464b4544be 100644 (file)
     <p>In addition, if you wish to have caching enabled, consult
     the documentation from <code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code>.</p>
 
-    <div class="example"><h3>Reverse Proxy</h3><pre class="prettyprint lang-config">ProxyPass /foo http://foo.example.com/bar
-ProxyPassReverse /foo http://foo.example.com/bar</pre>
+    <div class="example"><h3>Reverse Proxy</h3><pre class="prettyprint lang-config">ProxyPass        "/foo" "http://foo.example.com/bar"
+ProxyPassReverse "/foo" "http://foo.example.com/bar"</pre>
 </div>
 
     <div class="example"><h3>Forward Proxy</h3><pre class="prettyprint lang-config">ProxyRequests On
@@ -251,7 +251,7 @@ ProxyVia On
       <code class="directive"><a href="#proxypassmatch">ProxyPassMatch</a></code> when used
       for a reverse proxy:</p>
 
-      <pre class="prettyprint lang-config">ProxyPass /example http://backend.example.com connectiontimeout=5 timeout=30</pre>
+      <pre class="prettyprint lang-config">ProxyPass "/example" "http://backend.example.com" connectiontimeout=5 timeout=30</pre>
 
 
       <p>This will create a worker associated with the origin server URL
@@ -284,8 +284,8 @@ ProxyVia On
       <p>The URL identifying a direct worker is the URL of its
       origin server including any path components given:</p>
 
-     <pre class="prettyprint lang-config">ProxyPass /examples http://backend.example.com/examples
-ProxyPass /docs http://backend.example.com/docs</pre>
+     <pre class="prettyprint lang-config">ProxyPass "/examples" "http://backend.example.com/examples"
+ProxyPass "/docs"     "http://backend.example.com/docs"</pre>
 
 
       <p>This example defines two different workers, each using a separate
@@ -296,8 +296,8 @@ ProxyPass /docs http://backend.example.com/docs</pre>
         the URL of some worker is a leading substring of the URL of another
         worker defined later in the configuration file. In the following example</p>
 
-        <pre class="prettyprint lang-config">ProxyPass /apps http://backend.example.com/ timeout=60
-ProxyPass /examples http://backend.example.com/examples timeout=10</pre>
+        <pre class="prettyprint lang-config">ProxyPass "/apps"     "http://backend.example.com/" timeout=60
+ProxyPass "/examples" "http://backend.example.com/examples" timeout=10</pre>
 
 
         <p>the second worker isn't actually created. Instead the first
@@ -405,7 +405,7 @@ ProxyPass /examples http://backend.example.com/examples timeout=10</pre>
       <code>proxy-nokeepalive</code> notes.</p>
 
       <pre class="prettyprint lang-config">&lt;Location "/buggyappserver/"&gt;
-  ProxyPass http://buggyappserver:7001/foo/
+  ProxyPass "http://buggyappserver:7001/foo/"
   SetEnv force-proxy-request-1.0 1
   SetEnv proxy-nokeepalive 1
 &lt;/Location&gt;</pre>
@@ -1023,7 +1023,7 @@ through</td></tr>
     then</p>
 
     <pre class="prettyprint lang-config">&lt;Location "/mirror/foo/"&gt;
-    ProxyPass http://backend.example.com/
+    ProxyPass "http://backend.example.com/"
 &lt;/Location&gt;</pre>
 
 
@@ -1036,7 +1036,7 @@ through</td></tr>
     the below syntax is that it allows for dynamic control via the
     <a href="mod_proxy_balancer.html#balancer_manager">Balancer Manager</a> interface:</p>
 
-    <pre class="prettyprint lang-config">ProxyPass /mirror/foo/ http://backend.example.com/</pre>
+    <pre class="prettyprint lang-config">ProxyPass "/mirror/foo/" "http://backend.example.com/"</pre>
 
 
     <div class="warning">
@@ -1051,15 +1051,15 @@ through</td></tr>
     to reverse-proxy a subdirectory, <em>e.g.</em></p>
 
     <pre class="prettyprint lang-config">&lt;Location "/mirror/foo/"&gt;
-    ProxyPass http://backend.example.com/
+    ProxyPass "http://backend.example.com/"
 &lt;/Location&gt;
 &lt;Location "/mirror/foo/i"&gt;
-    ProxyPass !
+    ProxyPass "!"
 &lt;/Location&gt;</pre>
 
 
-    <pre class="prettyprint lang-config">ProxyPass /mirror/foo/i !
-ProxyPass /mirror/foo http://backend.example.com</pre>
+    <pre class="prettyprint lang-config">ProxyPass "/mirror/foo/i" "!"
+ProxyPass "/mirror/foo"   "http://backend.example.com"</pre>
 
 
     <p>will proxy all requests to <code>/mirror/foo</code> to
@@ -1106,7 +1106,7 @@ ProxyPass /mirror/foo http://backend.example.com</pre>
     among all child processes, except when only one child process is allowed
     by configuration or MPM design.</p>
 
-    <div class="example"><h3>Example</h3><pre class="prettyprint lang-config">ProxyPass /example http://backend.example.com max=20 ttl=120 retry=300</pre>
+    <div class="example"><h3>Example</h3><pre class="prettyprint lang-config">ProxyPass "/example" "http://backend.example.com" max=20 ttl=120 retry=300</pre>
 </div>
 
     <table class="bordered"><tr><th>BalancerMember parameters</th></tr></table>
@@ -1394,8 +1394,8 @@ ProxyPass /mirror/foo http://backend.example.com</pre>
 
     </table>
     <p>A sample balancer setup</p>
-    <pre class="prettyprint lang-config">ProxyPass /special-area http://special.example.com smax=5 max=10
-ProxyPass / balancer://mycluster/ stickysession=JSESSIONID|jsessionid nofailover=On
+    <pre class="prettyprint lang-config">ProxyPass "/special-area" "http://special.example.com" smax=5 max=10
+ProxyPass "/"             "balancer://mycluster/" stickysession=JSESSIONID|jsessionid nofailover=On
 &lt;Proxy balancer://mycluster&gt;
     BalancerMember ajp://1.2.3.4:8009
     BalancerMember ajp://1.2.3.5:8009 loadfactor=20
@@ -1406,7 +1406,7 @@ ProxyPass / balancer://mycluster/ stickysession=JSESSIONID|jsessionid nofailover
 
     <p>Setting up a hot-standby, that will only be used if no other
      members are available</p>
-    <pre class="prettyprint lang-config">ProxyPass / balancer://hotcluster/
+    <pre class="prettyprint lang-config">ProxyPass "/" "balancer://hotcluster/"
 &lt;Proxy balancer://hotcluster&gt;
     BalancerMember ajp://1.2.3.4:8009 loadfactor=1
     BalancerMember ajp://1.2.3.5:8009 loadfactor=2
@@ -1460,8 +1460,8 @@ RewriteCond %{HTTPS} =on
 RewriteRule . - [E=protocol:https]
 
 RewriteRule ^/mirror/foo/(.*) %{ENV:protocol}://backend.example.com/$1 [P]
-ProxyPassReverse  /mirror/foo/ http://backend.example.com/
-ProxyPassReverse  /mirror/foo/ https://backend.example.com/</pre>
+ProxyPassReverse  "/mirror/foo/" "http://backend.example.com/"
+ProxyPassReverse  "/mirror/foo/" "https://backend.example.com/"</pre>
 
 
 </div>
@@ -1535,7 +1535,7 @@ ProxyPassReverse  /mirror/foo/ https://backend.example.com/</pre>
     <p>Suppose the local server has address <code>http://example.com/</code>;
     then</p>
 
-    <pre class="prettyprint lang-config">ProxyPassMatch ^/(.*\.gif)$ http://backend.example.com/$1</pre>
+    <pre class="prettyprint lang-config">ProxyPassMatch "^/(.*\.gif)$" "http://backend.example.com/$1"</pre>
 
 
     <p>will cause a local request for
@@ -1545,12 +1545,12 @@ ProxyPassReverse  /mirror/foo/ https://backend.example.com/</pre>
       <p>The URL argument must be parsable as a URL <em>before</em> regexp
       substitutions (as well as after).  This limits the matches you can use.
       For instance, if we had used</p>
-      <pre class="prettyprint lang-config">ProxyPassMatch ^(/.*\.gif)$ http://backend.example.com:8000$1</pre>
+      <pre class="prettyprint lang-config">ProxyPassMatch "^(/.*\.gif)$" "http://backend.example.com:8000$1"</pre>
 
       <p>in our previous example, it would fail with a syntax error
       at server startup.  This is a bug (PR 46665 in the ASF bugzilla),
       and the workaround is to reformulate the match:</p>
-      <pre class="prettyprint lang-config">ProxyPassMatch ^/(.*\.gif)$ http://backend.example.com:8000/$1</pre>
+      <pre class="prettyprint lang-config">ProxyPassMatch "^/(.*\.gif)$" "http://backend.example.com:8000/$1"</pre>
 
     </div>
     <p>The <code>!</code> directive is useful in situations where you don't want
@@ -1613,10 +1613,10 @@ proxied server</td></tr>
     <p>For example, suppose the local server has address
     <code>http://example.com/</code>; then</p>
 
-    <pre class="prettyprint lang-config">ProxyPass         /mirror/foo/ http://backend.example.com/
-ProxyPassReverse  /mirror/foo/ http://backend.example.com/
+    <pre class="prettyprint lang-config">ProxyPass         "/mirror/foo/" "http://backend.example.com/"
+ProxyPassReverse  "/mirror/foo/" "http://backend.example.com/"
 ProxyPassReverseCookieDomain  backend.example.com  public.example.com
-ProxyPassReverseCookiePath  /  /mirror/foo/</pre>
+ProxyPassReverseCookiePath  "/"  "/mirror/foo/"</pre>
 
 
     <p>will not only cause a local request for the
@@ -1690,7 +1690,7 @@ reverse proxy. This directive rewrites the <code>path</code> string in
 In the example given with 
 <code class="directive"><a href="#proxypassreverse">ProxyPassReverse</a></code>, the directive:
 </p>
-    <pre class="prettyprint lang-config">ProxyPassReverseCookiePath  /  /mirror/foo/</pre>
+    <pre class="prettyprint lang-config">ProxyPassReverseCookiePath  "/"  "/mirror/foo/"</pre>
 
 <p>
 will rewrite a cookie with backend path <code>/</code> (or
index cfee3e069f8e936aa2342c4042f42d67d9bb62d8..7a7596f798f845789d1f5bfe9f5d714ad5342e70 100644 (file)
 
     <example><title>Reverse Proxy</title>
     <highlight language="config">
-ProxyPass /foo http://foo.example.com/bar
-ProxyPassReverse /foo http://foo.example.com/bar
+ProxyPass        "/foo" "http://foo.example.com/bar"
+ProxyPassReverse "/foo" "http://foo.example.com/bar"
     </highlight>
     </example>
 
@@ -211,7 +211,7 @@ ProxyVia On
       for a reverse proxy:</p>
 
       <highlight language="config">
-          ProxyPass /example http://backend.example.com connectiontimeout=5 timeout=30
+ProxyPass "/example" "http://backend.example.com" connectiontimeout=5 timeout=30
       </highlight>
 
       <p>This will create a worker associated with the origin server URL
@@ -247,8 +247,8 @@ ProxyVia On
       origin server including any path components given:</p>
 
      <highlight language="config">
-ProxyPass /examples http://backend.example.com/examples
-ProxyPass /docs http://backend.example.com/docs
+ProxyPass "/examples" "http://backend.example.com/examples"
+ProxyPass "/docs"     "http://backend.example.com/docs"
       </highlight>
 
       <p>This example defines two different workers, each using a separate
@@ -260,8 +260,8 @@ ProxyPass /docs http://backend.example.com/docs
         worker defined later in the configuration file. In the following example</p>
 
         <highlight language="config">
-ProxyPass /apps http://backend.example.com/ timeout=60
-ProxyPass /examples http://backend.example.com/examples timeout=10
+ProxyPass "/apps"     "http://backend.example.com/" timeout=60
+ProxyPass "/examples" "http://backend.example.com/examples" timeout=10
         </highlight>
 
         <p>the second worker isn't actually created. Instead the first
@@ -379,7 +379,7 @@ ProxyPass /examples http://backend.example.com/examples timeout=10
 
       <highlight language="config">
 &lt;Location "/buggyappserver/"&gt;
-  ProxyPass http://buggyappserver:7001/foo/
+  ProxyPass "http://buggyappserver:7001/foo/"
   SetEnv force-proxy-request-1.0 1
   SetEnv proxy-nokeepalive 1
 &lt;/Location&gt;
@@ -887,7 +887,7 @@ expressions</description>
 
     <highlight language="config">
 &lt;Location "/mirror/foo/"&gt;
-    ProxyPass http://backend.example.com/
+    ProxyPass "http://backend.example.com/"
 &lt;/Location&gt;
     </highlight>
 
@@ -901,7 +901,7 @@ expressions</description>
     <a href="mod_proxy_balancer.html#balancer_manager">Balancer Manager</a> interface:</p>
 
     <highlight language="config">
-        ProxyPass /mirror/foo/ http://backend.example.com/
+        ProxyPass "/mirror/foo/" "http://backend.example.com/"
     </highlight>
 
     <note type="warning">
@@ -917,16 +917,16 @@ expressions</description>
 
     <highlight language="config">
 &lt;Location "/mirror/foo/"&gt;
-    ProxyPass http://backend.example.com/
+    ProxyPass "http://backend.example.com/"
 &lt;/Location&gt;
 &lt;Location "/mirror/foo/i"&gt;
-    ProxyPass !
+    ProxyPass "!"
 &lt;/Location&gt;
     </highlight>
 
     <highlight language="config">
-ProxyPass /mirror/foo/i !
-ProxyPass /mirror/foo http://backend.example.com
+ProxyPass "/mirror/foo/i" "!"
+ProxyPass "/mirror/foo"   "http://backend.example.com"
     </highlight>
 
     <p>will proxy all requests to <code>/mirror/foo</code> to
@@ -975,7 +975,7 @@ ProxyPass /mirror/foo http://backend.example.com
 
     <example><title>Example</title>
         <highlight language="config">
-        ProxyPass /example http://backend.example.com max=20 ttl=120 retry=300
+ProxyPass "/example" "http://backend.example.com" max=20 ttl=120 retry=300
         </highlight>
     </example>
 
@@ -1265,8 +1265,8 @@ ProxyPass /mirror/foo http://backend.example.com
     </table>
     <p>A sample balancer setup</p>
     <highlight language="config">
-ProxyPass /special-area http://special.example.com smax=5 max=10
-ProxyPass / balancer://mycluster/ stickysession=JSESSIONID|jsessionid nofailover=On
+ProxyPass "/special-area" "http://special.example.com" smax=5 max=10
+ProxyPass "/"             "balancer://mycluster/" stickysession=JSESSIONID|jsessionid nofailover=On
 &lt;Proxy balancer://mycluster&gt;
     BalancerMember ajp://1.2.3.4:8009
     BalancerMember ajp://1.2.3.5:8009 loadfactor=20
@@ -1278,7 +1278,7 @@ ProxyPass / balancer://mycluster/ stickysession=JSESSIONID|jsessionid nofailover
     <p>Setting up a hot-standby, that will only be used if no other
      members are available</p>
     <highlight language="config">
-ProxyPass / balancer://hotcluster/
+ProxyPass "/" "balancer://hotcluster/"
 &lt;Proxy balancer://hotcluster&gt;
     BalancerMember ajp://1.2.3.4:8009 loadfactor=1
     BalancerMember ajp://1.2.3.5:8009 loadfactor=2
@@ -1337,8 +1337,8 @@ RewriteCond %{HTTPS} =on
 RewriteRule . - [E=protocol:https]
 
 RewriteRule ^/mirror/foo/(.*) %{ENV:protocol}://backend.example.com/$1 [P]
-ProxyPassReverse  /mirror/foo/ http://backend.example.com/
-ProxyPassReverse  /mirror/foo/ https://backend.example.com/
+ProxyPassReverse  "/mirror/foo/" "http://backend.example.com/"
+ProxyPassReverse  "/mirror/foo/" "https://backend.example.com/"
     </highlight>
 </usage>
 </directivesynopsis>
@@ -1366,7 +1366,7 @@ ProxyPassReverse  /mirror/foo/ https://backend.example.com/
     then</p>
 
     <highlight language="config">
-      ProxyPassMatch ^/(.*\.gif)$ http://backend.example.com/$1
+ProxyPassMatch "^/(.*\.gif)$" "http://backend.example.com/$1"
     </highlight>
 
     <p>will cause a local request for
@@ -1377,13 +1377,13 @@ ProxyPassReverse  /mirror/foo/ https://backend.example.com/
       substitutions (as well as after).  This limits the matches you can use.
       For instance, if we had used</p>
       <highlight language="config">
-        ProxyPassMatch ^(/.*\.gif)$ http://backend.example.com:8000$1
+ProxyPassMatch "^(/.*\.gif)$" "http://backend.example.com:8000$1"
       </highlight>
       <p>in our previous example, it would fail with a syntax error
       at server startup.  This is a bug (PR 46665 in the ASF bugzilla),
       and the workaround is to reformulate the match:</p>
       <highlight language="config">
-        ProxyPassMatch ^/(.*\.gif)$ http://backend.example.com:8000/$1
+ProxyPassMatch "^/(.*\.gif)$" "http://backend.example.com:8000/$1"
       </highlight>
     </note>
     <p>The <code>!</code> directive is useful in situations where you don't want
@@ -1450,10 +1450,10 @@ proxied server</description>
     <code>http://example.com/</code>; then</p>
 
     <highlight language="config">
-ProxyPass         /mirror/foo/ http://backend.example.com/
-ProxyPassReverse  /mirror/foo/ http://backend.example.com/
+ProxyPass         "/mirror/foo/" "http://backend.example.com/"
+ProxyPassReverse  "/mirror/foo/" "http://backend.example.com/"
 ProxyPassReverseCookieDomain  backend.example.com  public.example.com
-ProxyPassReverseCookiePath  /  /mirror/foo/
+ProxyPassReverseCookiePath  "/"  "/mirror/foo/"
     </highlight>
 
     <p>will not only cause a local request for the
@@ -1537,7 +1537,7 @@ In the example given with
 <directive module="mod_proxy">ProxyPassReverse</directive>, the directive:
 </p>
     <highlight language="config">
-      ProxyPassReverseCookiePath  /  /mirror/foo/
+ProxyPassReverseCookiePath  "/"  "/mirror/foo/"
     </highlight>
 <p>
 will rewrite a cookie with backend path <code>/</code> (or
index 62b3784ae636fc75155943fa6589ef4df5ac7b96..e07d3685e22a85be8f8e693a3121329c777887bd 100644 (file)
@@ -71,7 +71,7 @@
     (e.g. Apache Tomcat) using the AJP13 protocol. The usage is similar to
     an HTTP reverse proxy, but uses the <code>ajp://</code> prefix:</p>
 
-    <div class="example"><h3>Simple Reverse Proxy</h3><pre class="prettyprint lang-config">ProxyPass /app ajp://backend.example.com:8009/app</pre>
+    <div class="example"><h3>Simple Reverse Proxy</h3><pre class="prettyprint lang-config">ProxyPass "/app" "ajp://backend.example.com:8009/app"</pre>
 </div>
 
     <p>Balancers may also be used:</p>
@@ -80,7 +80,7 @@
     BalancerMember ajp://app2.example.com:8009 loadfactor=2
     ProxySet lbmethod=bytraffic
 &lt;/Proxy&gt;
-ProxyPass /app balancer://cluster/app</pre>
+ProxyPass "/app" "balancer://cluster/app"</pre>
 </div>
 
     <p>Note that usually no
@@ -95,8 +95,8 @@ ProxyPass /app balancer://cluster/app</pre>
     backend. In this case, a redirect header can be rewritten relative to the
     original host URL (not the backend <code>ajp://</code> URL), for
     example:</p>
-    <div class="example"><h3>Rewriting Proxied Path</h3><pre class="prettyprint lang-config">ProxyPass /apps/foo ajp://backend.example.com:8009/foo
-ProxyPassReverse /apps/foo http://www.example.com/foo</pre>
+    <div class="example"><h3>Rewriting Proxied Path</h3><pre class="prettyprint lang-config">ProxyPass "/apps/foo" "ajp://backend.example.com:8009/foo"
+ProxyPassReverse "/apps/foo" "http://www.example.com/foo"</pre>
 </div>
     <p>However, it is usually better to deploy the application on the backend
     server at the same path as the proxy rather than to take this approach.
index 6482ab2c81918af3de3a54d560d6dda67dd7312e..fad37d8e405b1f1ec6e2075822eea0a393fb0ee0 100644 (file)
@@ -57,7 +57,7 @@
 
     <example><title>Simple Reverse Proxy</title>
     <highlight language="config">
-    ProxyPass /app ajp://backend.example.com:8009/app
+    ProxyPass "/app" "ajp://backend.example.com:8009/app"
     </highlight>
     </example>
 
@@ -69,7 +69,7 @@
     BalancerMember ajp://app2.example.com:8009 loadfactor=2
     ProxySet lbmethod=bytraffic
 &lt;/Proxy&gt;
-ProxyPass /app balancer://cluster/app
+ProxyPass "/app" "balancer://cluster/app"
       </highlight>
     </example>
 
@@ -87,8 +87,8 @@ ProxyPass /app balancer://cluster/app
     example:</p>
     <example><title>Rewriting Proxied Path</title>
     <highlight language="config">
-ProxyPass /apps/foo ajp://backend.example.com:8009/foo
-ProxyPassReverse /apps/foo http://www.example.com/foo
+ProxyPass "/apps/foo" "ajp://backend.example.com:8009/foo"
+ProxyPassReverse "/apps/foo" "http://www.example.com/foo"
     </highlight>
     </example>
     <p>However, it is usually better to deploy the application on the backend
index 362be933b3ef919efba1f9d6516699657a0898a3..084e93d2f574e82222eedd2815b45103518c2108 100644 (file)
     BalancerMember http://192.168.1.50:80
     BalancerMember http://192.168.1.51:80
 &lt;/Proxy&gt;
-ProxyPass /test balancer://mycluster
-ProxyPassReverse /test balancer://mycluster</pre>
+ProxyPass        "/test" "balancer://mycluster"
+ProxyPassReverse "/test" "balancer://mycluster"</pre>
 
 
     <p>Another example of how to provide load balancing with stickyness
@@ -127,8 +127,8 @@ ProxyPassReverse /test balancer://mycluster</pre>
     BalancerMember http://192.168.1.51:80 route=2
     ProxySet stickysession=ROUTEID
 &lt;/Proxy&gt;
-ProxyPass /test balancer://mycluster
-ProxyPassReverse /test balancer://mycluster</pre>
+ProxyPass        "/test" "balancer://mycluster"
+ProxyPassReverse "/test" "balancer://mycluster"</pre>
 
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
@@ -262,7 +262,7 @@ ProxyPassReverse /test balancer://mycluster</pre>
     <p>Finally you can support cookies and URL encoding at the same time, by
     configuring the name of the cookie and the name of the URL parameter
     separated by a vertical bar (<code>|</code>) as in the following example:</p>
-    <pre class="prettyprint lang-config">ProxyPass /test balancer://mycluster stickysession=JSESSIONID|jsessionid scolonpathdelim=On
+    <pre class="prettyprint lang-config">ProxyPass "/test" "balancer://mycluster" stickysession=JSESSIONID|jsessionid scolonpathdelim=On
 &lt;Proxy balancer://mycluster&gt;
     BalancerMember http://192.168.1.50:80 route=node1
     BalancerMember http://192.168.1.51:80 route=node2
index 7508c1d17be1d283eba9621e1e21b9b7a12a2f40..784f355350a0dc694a18e6b50e4b6aebbb423b65 100644 (file)
@@ -95,8 +95,8 @@
     BalancerMember http://192.168.1.50:80
     BalancerMember http://192.168.1.51:80
 &lt;/Proxy&gt;
-ProxyPass /test balancer://mycluster
-ProxyPassReverse /test balancer://mycluster
+ProxyPass        "/test" "balancer://mycluster"
+ProxyPassReverse "/test" "balancer://mycluster"
     </highlight>
 
     <p>Another example of how to provide load balancing with stickyness
@@ -111,8 +111,8 @@ Header add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/" env=BALANCER_
     BalancerMember http://192.168.1.51:80 route=2
     ProxySet stickysession=ROUTEID
 &lt;/Proxy&gt;
-ProxyPass /test balancer://mycluster
-ProxyPassReverse /test balancer://mycluster
+ProxyPass        "/test" "balancer://mycluster"
+ProxyPassReverse "/test" "balancer://mycluster"
     </highlight>
 </section>
 
@@ -248,7 +248,7 @@ ProxyPassReverse /test balancer://mycluster
     configuring the name of the cookie and the name of the URL parameter
     separated by a vertical bar (<code>|</code>) as in the following example:</p>
     <highlight language="config">
-ProxyPass /test balancer://mycluster stickysession=JSESSIONID|jsessionid scolonpathdelim=On
+ProxyPass "/test" "balancer://mycluster" stickysession=JSESSIONID|jsessionid scolonpathdelim=On
 &lt;Proxy balancer://mycluster&gt;
     BalancerMember http://192.168.1.50:80 route=node1
     BalancerMember http://192.168.1.51:80 route=node2
index 61f4c99528ad2163be19feb90806c972ec0a31c0..433d8330e3f4a4e0d046da40a4d51981fa9f5a0d 100644 (file)
@@ -64,8 +64,8 @@
     <li>It emulates:
       <pre class="prettyprint lang-config">&lt;VirtualHost *:80&gt;
    ServerName front.end.server
-   ProxyPass / back.end.server:port
-   ProxyPassReverse / back.end.server:port
+   ProxyPass        "/" "back.end.server:port"
+   ProxyPassReverse "/" "back.end.server:port"
 &lt;/VirtualHost&gt;</pre>
 
       That is, the entire URL is appended to the mapped backend
index 2d8d44086db675f6f802194dd8f20d8f04069f31..620ad8e43f3f371853b1e2681670a54315ca6a58 100644 (file)
@@ -64,8 +64,8 @@
       <highlight language="config">
 &lt;VirtualHost *:80&gt;
    ServerName front.end.server
-   ProxyPass / back.end.server:port
-   ProxyPassReverse / back.end.server:port
+   ProxyPass        "/" "back.end.server:port"
+   ProxyPassReverse "/" "back.end.server:port"
 &lt;/VirtualHost&gt;
       </highlight>
       That is, the entire URL is appended to the mapped backend
index 4ace47129c1a64c57ec51a43f689987bf36ea7dd..53a133416833e139e199d02f03276b020979ad37 100644 (file)
@@ -74,7 +74,7 @@
     <p>Remember, in order to make the following examples work, you have to
     enable <code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code> and <code class="module"><a href="../mod/mod_proxy_fcgi.html">mod_proxy_fcgi</a></code>.</p>
 
-    <div class="example"><h3>Single application instance</h3><pre class="prettyprint lang-config">ProxyPass /myapp/ fcgi://localhost:4000/</pre>
+    <div class="example"><h3>Single application instance</h3><pre class="prettyprint lang-config">ProxyPass "/myapp/" "fcgi://localhost:4000/"</pre>
 </div>
 
     <p> <code class="module"><a href="../mod/mod_proxy_fcgi.html">mod_proxy_fcgi</a></code> disables connection reuse by
     from httpd, you can opt-in to connection reuse as shown in the following
     example:</p>
 
-    <div class="example"><h3>Single application instance, connection reuse</h3><pre class="prettyprint lang-config">ProxyPass /myapp/ fcgi://localhost:4000/ enablereuse=on</pre>
+    <div class="example"><h3>Single application instance, connection reuse</h3><pre class="prettyprint lang-config">ProxyPass "/myapp/" "fcgi://localhost:4000/" enablereuse=on</pre>
 </div>
 
     <p> The following example passes the request URI as a filesystem 
     path for the PHP-FPM daemon to run. The request URL is implicitly added 
     to the 2nd parameter. The hostname and port following fcgi:// are where
     PHP-FPM is listening.  Connection pooling is enabled.</p>
-    <div class="example"><h3>PHP-FPM</h3><pre class="prettyprint lang-config">ProxyPassMatch ^/myapp/.*\.php(/.*)?$ fcgi://localhost:9000/var/www/ enablereuse=on</pre>
+    <div class="example"><h3>PHP-FPM</h3><pre class="prettyprint lang-config">ProxyPassMatch "^/myapp/.*\.php(/.*)?$" "fcgi://localhost:9000/var/www/" enablereuse=on</pre>
 </div>
 
     <p> The following example passes the request URI as a filesystem
@@ -99,7 +99,7 @@
     a unix domain socket (UDS).  Requires 2.4.9 or later. With this syntax,
     the hostname and optional port following fcgi:// are ignored.</p>
     <div class="example"><h3>PHP-FPM with UDS</h3><pre class="prettyprint lang-config">      # UDS does not currently support connection reuse
-      ProxyPassMatch ^/(.*\.php(/.*)?)$ "unix:/var/run/php5-fpm.sock|fcgi://localhost/var/www/"</pre>
+      ProxyPassMatch "^/(.*\.php(/.*)?)$" "unix:/var/run/php5-fpm.sock|fcgi://localhost/var/www/"</pre>
 </div>
 
     <p>The balanced gateway needs <code class="module"><a href="../mod/mod_proxy_balancer.html">mod_proxy_balancer</a></code> and
     modules listed above.  <code class="module"><a href="../mod/mod_lbmethod_byrequests.html">mod_lbmethod_byrequests</a></code> is the
     default, and will be used for this example configuration.</p>
 
-    <div class="example"><h3>Balanced gateway to multiple application instances</h3><pre class="prettyprint lang-config">ProxyPass /myapp/ balancer://myappcluster/
+    <div class="example"><h3>Balanced gateway to multiple application instances</h3><pre class="prettyprint lang-config">ProxyPass "/myapp/" "balancer://myappcluster/"
 &lt;Proxy balancer://myappcluster/&gt;
     BalancerMember fcgi://localhost:4000
     BalancerMember fcgi://localhost:4001
index bff0638493f7314cad5e4b1fa495236f6e8a4a4e..da0c155d73df3a06e29b0946fc6406bb8cfa2adb 100644 (file)
@@ -65,8 +65,8 @@
 
     <example><title>Single application instance</title>
     <highlight language="config">
-      ProxyPass /myapp/ fcgi://localhost:4000/
-      </highlight>
+      ProxyPass "/myapp/" "fcgi://localhost:4000/"
+    </highlight>
     </example>
 
     <p> <module>mod_proxy_fcgi</module> disables connection reuse by
@@ -78,7 +78,7 @@
 
     <example><title>Single application instance, connection reuse</title>
     <highlight language="config">
-      ProxyPass /myapp/ fcgi://localhost:4000/ enablereuse=on
+      ProxyPass "/myapp/" "fcgi://localhost:4000/" enablereuse=on
       </highlight>
     </example>
 
@@ -88,7 +88,7 @@
     PHP-FPM is listening.  Connection pooling is enabled.</p>
     <example><title>PHP-FPM</title>
     <highlight language="config">
-      ProxyPassMatch ^/myapp/.*\.php(/.*)?$ fcgi://localhost:9000/var/www/ enablereuse=on
+      ProxyPassMatch "^/myapp/.*\.php(/.*)?$" "fcgi://localhost:9000/var/www/" enablereuse=on
     </highlight>
     </example>
 
@@ -99,7 +99,7 @@
     <example><title>PHP-FPM with UDS</title>
     <highlight language="config">
       # UDS does not currently support connection reuse
-      ProxyPassMatch ^/(.*\.php(/.*)?)$ "unix:/var/run/php5-fpm.sock|fcgi://localhost/var/www/" 
+      ProxyPassMatch "^/(.*\.php(/.*)?)$" "unix:/var/run/php5-fpm.sock|fcgi://localhost/var/www/" 
     </highlight>
     </example>
 
 
     <example><title>Balanced gateway to multiple application instances</title>
     <highlight language="config">
-ProxyPass /myapp/ balancer://myappcluster/
+ProxyPass "/myapp/" "balancer://myappcluster/"
 &lt;Proxy balancer://myappcluster/&gt;
     BalancerMember fcgi://localhost:4000
     BalancerMember fcgi://localhost:4001
index d1ca80000765f9f2b596cb69cca7de412a351094..5a104991831f05fd9a2ab41b566b238f948777fc 100644 (file)
@@ -66,7 +66,7 @@
     <p>Remember, in order to make the following examples work, you have to
     enable <code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code> and <code class="module"><a href="../mod/mod_proxy_scgi.html">mod_proxy_scgi</a></code>.</p>
 
-    <div class="example"><h3>Simple gateway</h3><pre class="prettyprint lang-config">ProxyPass /scgi-bin/ scgi://localhost:4000/</pre>
+    <div class="example"><h3>Simple gateway</h3><pre class="prettyprint lang-config">ProxyPass "/scgi-bin/" "scgi://localhost:4000/"</pre>
 </div>
 
     <p>The balanced gateway needs <code class="module"><a href="../mod/mod_proxy_balancer.html">mod_proxy_balancer</a></code> and
@@ -75,7 +75,7 @@
     modules listed above.  <code class="module"><a href="../mod/mod_lbmethod_byrequests.html">mod_lbmethod_byrequests</a></code> is the
     default, and will be used for this example configuration.</p>
 
-    <div class="example"><h3>Balanced gateway</h3><pre class="prettyprint lang-config">ProxyPass /scgi-bin/ balancer://somecluster/
+    <div class="example"><h3>Balanced gateway</h3><pre class="prettyprint lang-config">ProxyPass "/scgi-bin/" "balancer://somecluster/"
 &lt;Proxy balancer://somecluster&gt;
     BalancerMember scgi://localhost:4000
     BalancerMember scgi://localhost:4001
index 4ad6dda561ee53367c679efbb45aa3f2dd3c563e..c7155b28afe1485c2d1effc2a6775923b3eb9815 100644 (file)
@@ -55,7 +55,7 @@
 
     <example><title>Simple gateway</title>
     <highlight language="config">
-      ProxyPass /scgi-bin/ scgi://localhost:4000/
+ProxyPass "/scgi-bin/" "scgi://localhost:4000/"
       </highlight>
     </example>
 
@@ -67,7 +67,7 @@
 
     <example><title>Balanced gateway</title>
     <highlight language="config">
-ProxyPass /scgi-bin/ balancer://somecluster/
+ProxyPass "/scgi-bin/" "balancer://somecluster/"
 &lt;Proxy balancer://somecluster&gt;
     BalancerMember scgi://localhost:4000
     BalancerMember scgi://localhost:4001
index dee214b41bd9734bd4ef9fcfb0b7ecf906f021c7..e2eb4d197d8e05b54f50aa346471c4ee8ddb97b6 100644 (file)
@@ -43,8 +43,8 @@ Connection: Upgrade</pre>
 
 
 
-    <div class="example"><h3>Proxying requests to websockets server</h3><pre class="prettyprint lang-config">ProxyPass /ws2/  ws://echo.websocket.org/
-ProxyPass /wss2/ wss://echo.websocket.org/</pre>
+    <div class="example"><h3>Proxying requests to websockets server</h3><pre class="prettyprint lang-config">ProxyPass "/ws2/"  "ws://echo.websocket.org/"
+ProxyPass "/wss2/" "wss://echo.websocket.org/"</pre>
 </div>
 
 </div>
index 152082c5b1350acc6f4aa5277992f5937d5aebb6..c23b4f411b40657f2105684b6061ace6c9247a50 100644 (file)
@@ -44,8 +44,8 @@ Connection: Upgrade
 
     <example><title>Proxying requests to websockets server</title>
     <highlight language="config">
-ProxyPass /ws2/  ws://echo.websocket.org/
-ProxyPass /wss2/ wss://echo.websocket.org/
+ProxyPass "/ws2/"  "ws://echo.websocket.org/"
+ProxyPass "/wss2/" "wss://echo.websocket.org/"
     </highlight>
     </example>
 
index 5b1bbde57e6af2cfe357851520147b8bbdd6912f..d0420f85de2d56bba6e343e7327a84c547b7d03b 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1668875:1673908 (outdated) -->
+<!-- English Revision: 1668875:1673917 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index 742146a7305abb7bf1ec3c95b0ef1d5d330f6fc7..385e0f09f3845f25f37246deedd4556bc7c65f2e 100644 (file)
     <p>In this case, <code>mod_substutite</code> can be used to rewrite
     those URLs into something that will work from the front end:</p>
 
-    <div class="example"><h3>Rewriting URLs embedded in proxied content</h3><pre class="prettyprint lang-config">ProxyPass /blog/ http://internal.blog.example.com
-ProxyPassReverse /blog/ http://internal.blog.example.com/
+    <div class="example"><h3>Rewriting URLs embedded in proxied content</h3><pre class="prettyprint lang-config">ProxyPass        "/blog/" "http://internal.blog.example.com"
+ProxyPassReverse "/blog/" "http://internal.blog.example.com/"
 
 Substitute "s|http://internal.blog.example.com/|http://www.example.com/blog/|i"</pre>
 </div>
index ce1a7a4554241b245711d604b2ed0373d5625205..534dd62ba1eef34fddce9e3ec8a37dc4f8d471ea 100644 (file)
 
     <example><title>Rewriting URLs embedded in proxied content</title>
     <highlight language="config">
-ProxyPass /blog/ http://internal.blog.example.com
-ProxyPassReverse /blog/ http://internal.blog.example.com/
+ProxyPass        "/blog/" "http://internal.blog.example.com"
+ProxyPassReverse "/blog/" "http://internal.blog.example.com/"
 
 Substitute "s|http://internal.blog.example.com/|http://www.example.com/blog/|i"
     </highlight>
index 4c1464df4531fad8b8dfd7dc4469a8e1e76c4bae..2f5f52e68834a495ac509a1569295a71bc7c1aae 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1174747:1346943 (outdated) -->
+<!-- English Revision: 1174747:1673917 (outdated) -->
 <!-- =====================================================
  Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
    Reviewed by: Orhan Berent <berent belgeler.org>
index 5815161d032543e6fb5564c0fcbb8a6866534eac..6c7e08d009290133301300a98b2c9eb82f74503d 100644 (file)
@@ -59,7 +59,7 @@ A number of recipes are provided that describe common scenarios.</p>
 <pre class="prettyprint lang-config">RewriteEngine  on
 RewriteBase    /products/
 RewriteRule    ^widget/(.*)$  http://product.example.com/widget/$1  [P]
-ProxyPassReverse /products/widget/ http://product.example.com/widget/</pre>
+ProxyPassReverse "/products/widget/" "http://product.example.com/widget/"</pre>
 
 
    <p>In the second example, we proxy the request only if we can't find
@@ -70,7 +70,7 @@ ProxyPassReverse /products/widget/ http://product.example.com/widget/</pre>
 <pre class="prettyprint lang-config">RewriteCond %{REQUEST_FILENAME}       !-f
 RewriteCond %{REQUEST_FILENAME}       !-d
 RewriteRule ^/(.*) http://old.example.com/$1 [P]
-ProxyPassReverse / http://old.example.com/</pre>
+ProxyPassReverse "/" "http://old.example.com/"</pre>
 
     </dd>
 
index 0a881f256ca864c8b90a3b35d6a325ddb9ef3227..448a5e68c53b644d49899661631f98227437cfb7 100644 (file)
@@ -69,7 +69,7 @@ A number of recipes are provided that describe common scenarios.</p>
 RewriteEngine  on
 RewriteBase    /products/
 RewriteRule    ^widget/(.*)$  http://product.example.com/widget/$1  [P]
-ProxyPassReverse /products/widget/ http://product.example.com/widget/
+ProxyPassReverse "/products/widget/" "http://product.example.com/widget/"
 </highlight>
 
    <p>In the second example, we proxy the request only if we can't find
@@ -81,7 +81,7 @@ ProxyPassReverse /products/widget/ http://product.example.com/widget/
 RewriteCond %{REQUEST_FILENAME}       !-f
 RewriteCond %{REQUEST_FILENAME}       !-d
 RewriteRule ^/(.*) http://old.example.com/$1 [P]
-ProxyPassReverse / http://old.example.com/
+ProxyPassReverse "/" "http://old.example.com/"
 </highlight>
     </dd>
 
index 3b400f836e6f8b2c2cdfdc0f6f6862cba6ba6d87..06bf546e8740f493d5ec8378f44f910fcd60bd70 100644 (file)
@@ -220,8 +220,8 @@ Alias "/foo"     "/srv/www/common/foo"</pre>
 
 <p>The same is true for the <code class="directive"><a href="./mod/mod_proxy.html#proxypass">ProxyPass</a></code>
 directives:</p>
-<pre class="prettyprint lang-config">ProxyPass /special-area http://special.example.com smax=5 max=10
-ProxyPass / balancer://mycluster/ stickysession=JSESSIONID|jsessionid nofailover=On</pre>
+<pre class="prettyprint lang-config">ProxyPass "/special-area" "http://special.example.com" smax=5 max=10
+ProxyPass "/" "balancer://mycluster/" stickysession=JSESSIONID|jsessionid nofailover=On</pre>
 
 
 
index 52068a79827d59269d2e8384b07ac2aab553d086..b42f06c52f106a86ecb6d5a0d63223af6e42398b 100644 (file)
@@ -251,8 +251,8 @@ Alias "/foo"     "/srv/www/common/foo"
 <p>The same is true for the <directive module="mod_proxy">ProxyPass</directive>
 directives:</p>
 <highlight language="config">
-ProxyPass /special-area http://special.example.com smax=5 max=10
-ProxyPass / balancer://mycluster/ stickysession=JSESSIONID|jsessionid nofailover=On
+ProxyPass "/special-area" "http://special.example.com" smax=5 max=10
+ProxyPass "/" "balancer://mycluster/" stickysession=JSESSIONID|jsessionid nofailover=On
 </highlight>
 </section>
 
index 960be6038a35216392592bfc81851325a4b1a093..8322cfdfa38b74d6e34f5b55a798b53da313763b 100644 (file)
@@ -233,10 +233,10 @@ the <code>/bar/</code> directory on <code>internal.example.com</code>
 and returns them to the client as if they were from the local
 server.</p>
 
-<pre class="prettyprint lang-config">ProxyPass /foo/ http://internal.example.com/bar/<br />
-ProxyPassReverse /foo/ http://internal.example.com/bar/<br />
+<pre class="prettyprint lang-config">ProxyPass        "/foo/" "http://internal.example.com/bar/"<br />
+ProxyPassReverse "/foo/" "http://internal.example.com/bar/"<br />
 ProxyPassReverseCookieDomain internal.example.com public.example.com<br />
-ProxyPassReverseCookiePath /foo/ /bar/</pre>
+ProxyPassReverseCookiePath "/foo/" "/bar/"</pre>
 
 
 <p>The <code class="directive"><a href="./mod/mod_proxy.html#proxypass">ProxyPass</a></code> configures
index a59c568cc19560287ff0f57f5e5574eb9c58523e..9753ea2ccea3b273f3884f79ebd7de1097c945e1 100644 (file)
@@ -269,10 +269,10 @@ and returns them to the client as if they were from the local
 server.</p>
 
 <highlight language="config">
-ProxyPass /foo/ http://internal.example.com/bar/<br />
-ProxyPassReverse /foo/ http://internal.example.com/bar/<br />
+ProxyPass        "/foo/" "http://internal.example.com/bar/"<br />
+ProxyPassReverse "/foo/" "http://internal.example.com/bar/"<br />
 ProxyPassReverseCookieDomain internal.example.com public.example.com<br />
-ProxyPassReverseCookiePath /foo/ /bar/
+ProxyPassReverseCookiePath "/foo/" "/bar/"
 </highlight>
 
 <p>The <directive module="mod_proxy">ProxyPass</directive> configures
index 6b106770f13f94a32572d4ec85137f2bed9ff495..542b87874bfc722b25a1e408c57693672c5b9c68 100644 (file)
@@ -353,8 +353,8 @@ Listen 172.20.30.50:8080
 
     <pre class="prettyprint lang-config">&lt;VirtualHost *:*&gt;
     ProxyPreserveHost On
-    ProxyPass / http://192.168.111.2/
-    ProxyPassReverse / http://192.168.111.2/
+    ProxyPass        "/" "http://192.168.111.2/"
+    ProxyPassReverse "/" "http://192.168.111.2/"
     ServerName hostname.example.com
 &lt;/VirtualHost&gt;</pre>
 
index 1290a34abc7ed39724691eeaf820975ad5735390..68c2fc7de5ba642636bd8ad59aa1f3805ce81e3c 100644 (file)
@@ -27,6 +27,8 @@
 <a href="../ko/vhosts/examples.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
 <a href="../tr/vhosts/examples.html" hreflang="tr" rel="alternate" title="Türkçe">&nbsp;tr&nbsp;</a></p>
 </div>
+<div class="outofdate">Cette traduction peut être périmée. Vérifiez la version
+            anglaise pour les changements récents.</div>
 
 
     <p>Le but de ce document est d'essayer de répondre aux questions 
index 0fe2261e444b8e7881b9453495278bfe0f58c1a3..29ab8a3950db007451a022ce20acec49a683b30e 100644 (file)
@@ -337,8 +337,8 @@ Listen 80
     <highlight language="config">
 &lt;VirtualHost *:*&gt;
     ProxyPreserveHost On
-    ProxyPass / http://192.168.111.2/
-    ProxyPassReverse / http://192.168.111.2/
+    ProxyPass        "/" "http://192.168.111.2/"
+    ProxyPassReverse "/" "http://192.168.111.2/"
     ServerName hostname.example.com
 &lt;/VirtualHost&gt;
     </highlight>
index e9d6bb99ff08c79a3fa978ec90f5b54de30d752f..23597eb3b436ac79331cc2f2cf7dfd7aae8851a0 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='ISO-8859-1' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1628690 -->
+<!-- English Revision: 1628690:1673917 (outdated) -->
 <!-- French translation by Vincent Deffontaines, Alain B.  -->
 <!-- reviewed by Lucien Gentis -->
 
index 7d1b96d7b6b2ff34c07f6720b492b79a4868983d..d110e96f42459797c97b1f541ecaac9d9cf3a730 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 659902:1628690 (outdated) -->
+<!-- English Revision: 659902:1673917 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 83398a52dc2ead68dddb3814d606edbeb9611bb9..2dfb32c001e577840b61a1aafe4e1a787fe7c8bd 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='EUC-KR' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 105989:1628690 (outdated) -->
+<!-- English Revision: 105989:1673917 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index c15857860f389362fb27b83f8fc7cc610850ec2b..9222c81673c48fddabc7bcbc3f892ca4c2a4b0cb 100644 (file)
@@ -8,7 +8,7 @@
 
   <variants>
     <variant>en</variant>
-    <variant>fr</variant>
+    <variant outdated="yes">fr</variant>
     <variant outdated="yes">ja</variant>
     <variant outdated="yes">ko</variant>
     <variant outdated="yes">tr</variant>
index 3a0e85b02f7c15d03edfe77c713786e23cca43e2..7d66275b074d9295d4458387a98bfc611d2a53f8 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1132802:1628690 (outdated) -->
+<!-- English Revision: 1132802:1673917 (outdated) -->
 <!-- =====================================================
  Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
    Reviewed by:  Orhan Berent <berent belgeler.org>
index 2fe38ac24603c335756e7c35d863edc9afc444b0..f2aa22a0f7812a6b6fcd3627e21b604d18b7210b 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="ISO-8859-1" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1436578:1673892 (outdated) -->
+<!-- English Revision: 1436578:1673917 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 
 <!--
index 78ddfd42390daa1ff3a73308e975f71476b86fc0..a0bbba4edf012b6d2e8410b4eca9e19aabe85ab5 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='EUC-KR' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 151408:1673892 (outdated) -->
+<!-- English Revision: 151408:1673917 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 4e949b8e306268022737eb0c05232c154438df6b..b7673762a1b1c79461443aeb38c2c185278a04de 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1174747:1673892 (outdated) -->
+<!-- English Revision: 1174747:1673917 (outdated) -->
 <!-- =====================================================
  Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
    Reviewed by: Orhan Berent <berent belgeler.org>
index 3fd9ebdaa44596d639e36dc383dac1d00978377e..feb872363ed69d3b5fb74e076b72d84465df3611 100644 (file)
@@ -28,6 +28,8 @@
 <a href="../ko/vhosts/name-based.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
 <a href="../tr/vhosts/name-based.html" hreflang="tr" rel="alternate" title="Türkçe">&nbsp;tr&nbsp;</a></p>
 </div>
+<div class="outofdate">Cette traduction peut être périmée. Vérifiez la version
+            anglaise pour les changements récents.</div>
 
     <p>Ce document décrit quand et comment utiliser des serveurs
     virtuels par nom.</p>
index 1b5ac4c396bf0751930925b34650f27804ebe2c8..9620f4d7e440e90d4e10875fe6187dbd41e823eb 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.de.xsl"?>
-<!-- English Revision: 420990:1647229 (outdated) -->
+<!-- English Revision: 420990:1673917 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 4a84c1654017bddfbabb1bd2f4c4eb6f9a037dee..70920d2e0a6fedfabc095fe1291d46727314df45 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='ISO-8859-1' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1647229 -->
+<!-- English Revision: 1647229:1673917 (outdated) -->
 <!-- French translation by alain B, review by Vincent Deffontaines
        updated by Lucien GENTIS -->
 
index 100aac35112068a3913e01b92509e6cc31450a0c..df4b1719cc2652dc5ba08f97fc4a2464054c1003 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 420990:1647229 (outdated) -->
+<!-- English Revision: 420990:1673917 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index dad3443d82a278f4ee03dfb2726f928c37229eb4..eb574c2689674dfce804096359ab8127e5384f62 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='EUC-KR' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 420990:1647229 (outdated) -->
+<!-- English Revision: 420990:1673917 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index c87cdc59f2400e5e4aa1f5561f24e92083e837ce..fdb7b6bac85b5f5bab476420482d272c7ee5dcf8 100644 (file)
@@ -9,7 +9,7 @@
   <variants>
     <variant outdated="yes">de</variant>
     <variant>en</variant>
-    <variant>fr</variant>
+    <variant outdated="yes">fr</variant>
     <variant outdated="yes">ja</variant>
     <variant outdated="yes">ko</variant>
     <variant outdated="yes">tr</variant>
index e130ebd6a12b5ee01f9e3cfbf11882436cf4be3c..6afa5fb31a7fb2f3ca231166035ed44dc3bc2669 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1301398:1647229 (outdated) -->
+<!-- English Revision: 1301398:1673917 (outdated) -->
 <!-- =====================================================
  Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
    Reviewed by: Orhan Berent <berent belgeler.org>