]> granicus.if.org Git - apache/commitdiff
Add a warning for host starting with a letter.
authorJean-Frederic Clere <jfclere@apache.org>
Mon, 2 Oct 2017 09:18:50 +0000 (09:18 +0000)
committerJean-Frederic Clere <jfclere@apache.org>
Mon, 2 Oct 2017 09:18:50 +0000 (09:18 +0000)
Fix for PR 61540.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1810316 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_proxy.html.en
docs/manual/mod/mod_proxy.xml

index f7f790ba27db46bbe80a3135b1439626e48dffc1..2177d6a3f77ea61c9f339b5ba5d8826236118532 100644 (file)
@@ -319,6 +319,14 @@ ProxyPass "/examples" "http://backend.example.com/examples" timeout=10</pre>
 
       </div> 
 
+      <div class="warning"><h3>Host part in the URL</h3>
+        <p>The host part needs to start with a letter [a-z]. For example:</p>
+        <pre class="prettyprint lang-config">ProxyPass "/apps"     "http://127"</pre>
+
+        <p>is not valid and will cause an error while processing a request that
+        maps the path.</p>
+      </div>
+
       <p>Explicitly configured workers come in two flavors:
       <dfn>direct workers</dfn> and <dfn>(load) balancer workers</dfn>.
       They support many important configuration attributes which are
index 7e440e31a5e5e15e4283f5024a454ca65329bd89..9790165cb53f5afbeb60b063465d0a02816779bc 100644 (file)
@@ -281,6 +281,15 @@ ProxyPass "/examples" "http://backend.example.com/examples" timeout=10
 
       </note> <!-- /worker_sharing -->
 
+      <note type="warning"><title>Host part in the URL</title>
+        <p>The host part needs to start with a letter [a-z]. For example:</p>
+        <highlight language="config">
+ProxyPass "/apps"     "http://127"
+        </highlight>
+        <p>is not valid and will cause an error while processing a request that
+        maps the path.</p>
+      </note>
+
       <p>Explicitly configured workers come in two flavors:
       <dfn>direct workers</dfn> and <dfn>(load) balancer workers</dfn>.
       They support many important configuration attributes which are