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:

+ can also be used, with the addition of the ~ + character. For example:

<Location ~ "/(extra|special)/data"> @@ -1996,7 +1996,9 @@

would match URLs that contained the substring /extra/data or /special/data. The directive <LocationMatch> behaves - identical to the regex version of <Location>.

+ identical to the regex version of <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 @@

top
Modified: httpd/httpd/trunk/docs/manual/mod/core.xml URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/core.xml?rev=770502&r1=770501&r2=770502&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/core.xml (original) +++ httpd/httpd/trunk/docs/manual/mod/core.xml Fri May 1 00:40:41 2009 @@ -1970,8 +1970,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:

+ can also be used, with the addition of the ~ + character. For example:

<Location ~ "/(extra|special)/data"> @@ -1981,7 +1981,9 @@ or /special/data. The directive LocationMatch behaves identical to the regex version of Location.

+ type="section">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 @@ -2024,7 +2026,8 @@ How <Directory>, <Location> and <Files> sections work for an explanation of how these - different sections are combined when a request is received + different sections are combined when a request is received. +LocationMatch