section). Semantically however some things, and the most
notable are <CODE>AllowOverride</CODE> and the two options
<CODE>FollowSymLinks</CODE> and <CODE>SymLinksIfOwnerMatch</CODE>,
-make no sense in <CODE><Location></CODE>. The same for
-<CODE><Files></CODE> -- syntactically everything is fine, but
-semantically some things are different.
+make no sense in <CODE><Location></CODE>,
+<CODE><LocationMatch></CODE> or <CODE><DirectoryMatch></CODE>.
+The same for <CODE><Files></CODE> -- syntactically everything
+is fine, but semantically some things are different.
<H2>How the sections are merged</H2>
<LI>
It is not possible to use "<CODE>Options FollowSymLinks</CODE>"
or "<CODE>Options SymLinksIfOwnerMatch</CODE>" inside a
- <CODE><Location></CODE>/<CODE><LocationMatch></CODE> section
+ <CODE><Location></CODE>, <CODE><LocationMatch></CODE>
+ or <CODE><DirectoryMatch></CODE> section
(the options are simply ignored).
Using the options in question is only possible inside a
<CODE><Directory></CODE> section (or a <CODE>.htaccess</CODE> file).
section). Semantically however some things, and the most
notable are <CODE>AllowOverride</CODE> and the two options
<CODE>FollowSymLinks</CODE> and <CODE>SymLinksIfOwnerMatch</CODE>,
-make no sense in <CODE><Location></CODE>. The same for
-<CODE><Files></CODE> -- syntactically everything is fine, but
-semantically some things are different.
+make no sense in <CODE><Location></CODE>,
+<CODE><LocationMatch></CODE> or <CODE><DirectoryMatch></CODE>.
+The same for <CODE><Files></CODE> -- syntactically everything
+is fine, but semantically some things are different.
<H2>How the sections are merged</H2>
<LI>
It is not possible to use "<CODE>Options FollowSymLinks</CODE>"
or "<CODE>Options SymLinksIfOwnerMatch</CODE>" inside a
- <CODE><Location></CODE>/<CODE><LocationMatch></CODE> section
+ <CODE><Location></CODE>, <CODE><LocationMatch></CODE>
+ or <CODE><DirectoryMatch></CODE> section
(the options are simply ignored).
Using the options in question is only possible inside a
<CODE><Directory></CODE> section (or a <CODE>.htaccess</CODE> file).