diff options
author | Rich Bowen <rbowen@apache.org> | 2009-05-01 00:40:41 +0000 |
---|---|---|
committer | Rich Bowen <rbowen@apache.org> | 2009-05-01 00:40:41 +0000 |
commit | d5424d2c9392b266857b2ca1546f9b51f8b61626 (patch) | |
tree | 4bf28eb3fbfb9bd4b77056575c65204473fd5a02 /docs/manual/mod/core.xml | |
parent | 9ac4defd17263f3a48680ba3d6edfedbf6e2363e (diff) | |
download | httpd-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.xml | 11 |
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> <Location ~ "/(extra|special)/data"> @@ -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 <Directory>, <Location> and <Files> 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"> |