Author: rbowen Date: Fri May 1 00:40:41 2009 New Revision: 770502 URL: http://svn.apache.org/viewvc?rev=770502&view=rev Log: Add a reference to LocationMatch in the seealso section. Encourage people to use LocationMatch rather than Location ~ Modified: httpd/httpd/trunk/docs/manual/mod/core.html.en httpd/httpd/trunk/docs/manual/mod/core.xml Modified: httpd/httpd/trunk/docs/manual/mod/core.html.en URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/core.html.en?rev=770502&r1=770501&r2=770502&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/core.html.en (original) +++ httpd/httpd/trunk/docs/manual/mod/core.html.en Fri May 1 00:40:41 2009 @@ -1987,8 +1987,8 @@ characters. Neither wildcard character matches a / in the URL-path.
Regular expressions
- can also be used, with the addition of the
- ~ character. For example:
~
+ character. For example:
would match URLs that contained the substring
<Location ~ "/(extra|special)/data">
@@ -1996,7 +1996,9 @@
/extra/data
or /special/data. The directive <LocationMatch> behaves
- identical to the regex version of <Location>.<Location>, and is preferred, for the
+ simple reason that ~ is hard to distinguish from
+ - in many fonts.
The <Location>
functionality is especially useful when combined with the
@@ -2038,7 +2040,8 @@
LocationMatch~ character. For example:
~
+ character. For example:
/special/data. The directive ~ is hard to distinguish from
+ - in many fonts.
The