summaryrefslogtreecommitdiff
path: root/docs/manual/mod/core.xml
diff options
context:
space:
mode:
authorRich Bowen <rbowen@apache.org>2009-05-01 00:40:41 +0000
committerRich Bowen <rbowen@apache.org>2009-05-01 00:40:41 +0000
commitd5424d2c9392b266857b2ca1546f9b51f8b61626 (patch)
tree4bf28eb3fbfb9bd4b77056575c65204473fd5a02 /docs/manual/mod/core.xml
parent9ac4defd17263f3a48680ba3d6edfedbf6e2363e (diff)
downloadhttpd-d5424d2c9392b266857b2ca1546f9b51f8b61626.tar.gz
Add a reference to LocationMatch in the seealso section.
Encourage people to use LocationMatch rather than Location ~ git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@770502 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/core.xml')
-rw-r--r--docs/manual/mod/core.xml11
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml
index 84b5f7b155..40f454db7a 100644
--- a/docs/manual/mod/core.xml
+++ b/docs/manual/mod/core.xml
@@ -1970,8 +1970,8 @@ URLs</description>
characters. Neither wildcard character matches a / in the URL-path.</p>
<p><glossary ref="regex">Regular expressions</glossary>
- can also be used, with the addition of the
- <code>~</code> character. For example:</p>
+ can also be used, with the addition of the <code>~</code>
+ character. For example:</p>
<example>
&lt;Location ~ "/(extra|special)/data"&gt;
@@ -1981,7 +1981,9 @@ URLs</description>
or <code>/special/data</code>. The directive <directive
type="section" module="core">LocationMatch</directive> behaves
identical to the regex version of <directive
- type="section">Location</directive>.</p>
+ type="section">Location</directive>, and is preferred, for the
+ simple reason that <code>~</code> is hard to distinguish from
+ <code>-</code> in many fonts.</p>
<p>The <directive type="section">Location</directive>
functionality is especially useful when combined with the
@@ -2024,7 +2026,8 @@ URLs</description>
</usage>
<seealso><a href="../sections.html">How &lt;Directory&gt;, &lt;Location&gt;
and &lt;Files&gt; sections work</a> for an explanation of how these
- different sections are combined when a request is received</seealso>
+ different sections are combined when a request is received.</seealso>
+<seealso><directive module="core">LocationMatch</directive></seealso>
</directivesynopsis>
<directivesynopsis type="section">