If an access control directive appears outside a <Limit>
directive, then it applies to all access methods. The method names
listed can be one or more of: GET, POST, PUT, DELETE, CONNECT or
-OPTIONS. If GET is used it will also restrict HEAD requests.
+OPTIONS. <STRONG>The method name is case-sensitive.</STRONG>
+If GET is used it will also restrict HEAD requests.
<STRONG>If you wish to limit all methods, do not include any
<Limit> directive at all.</STRONG> <P><HR>
the extra features are enabled, or one or more of the following:
<DL>
<DT>All
-<DD>All options except for MultiViews.
+<DD>All options except for MultiViews. This is the default setting.
<DT>ExecCGI
<DD>
<!--%plaintext <?INDEX {\tt ExecCGI} option> -->
<DD>
<!--%plaintext <?INDEX {\tt FollowSymLinks} option> -->
The server will follow symbolic links in this directory.
+<br>
<STRONG>Note</STRONG>: even though the server follows the symlink it
does <EM>not</EM>
change the pathname used to match against <CODE><Directory></CODE>
sections.
+<br>
+<STRONG>Note</STRONG>: this option gets ignored if set inside a
+<Location> section.
+
<DT>Includes
<DD>
<!--%plaintext <?INDEX {\tt Includes} option> -->
<!--%plaintext <?INDEX {\tt SymLinksIfOwnerMatch} option> -->
The server will only follow symbolic links for which the target
file or directory is owned by the same user id as the link.
+<br>
+<STRONG>Note</STRONG>: this option gets ignored if set inside a
+<Location> section.
</DL>
Normally, if multiple <CODE>Options</CODE> could apply to a directory,
Everything that is syntactically allowed in
<CODE><Directory></CODE> is also allowed in
<CODE><Location></CODE> (except a sub-<CODE><Files></CODE>
-section, but the code doesn't test for that, Lars has an open bug
-report on that). Semantically however some things, and the most
-notable is AllowOverride, make no sense in
-<CODE><Location></CODE>. The same for
+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.
</LI>
</UL>
-Note also that modifying .htaccess parsing during Location doesn't do
-anything because .htaccess parsing has already occurred.
+<P>
+Note about .htaccess parsing:
+</P>
+<UL>
+<LI>
+ Modifying .htaccess parsing during Location doesn't do
+ anything because .htaccess parsing has already occurred.
+</UL>
+
+<P>
+<CODE><Location></CODE> and symbolic links:
+</P>
+<UL>
+<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
+ (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).
+</UL>
<P>
+<CODE><Files></CODE> and <CODE>Options</CODE>:
+</P>
+<UL>
+<LI>
+ Apache won't check for it, but using an <CODE>Options</CODE>
+ directive inside a <CODE><Files></CODE> section has no effect.
+</UL>
-Another note:
<P>
+Another note:
+</P>
<UL>
<LI>
Everything that is syntactically allowed in
<CODE><Directory></CODE> is also allowed in
<CODE><Location></CODE> (except a sub-<CODE><Files></CODE>
-section, but the code doesn't test for that, Lars has an open bug
-report on that). Semantically however some things, and the most
-notable is AllowOverride, make no sense in
-<CODE><Location></CODE>. The same for
+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.
</LI>
</UL>
-Note also that modifying .htaccess parsing during Location doesn't do
-anything because .htaccess parsing has already occurred.
+<P>
+Note about .htaccess parsing:
+</P>
+<UL>
+<LI>
+ Modifying .htaccess parsing during Location doesn't do
+ anything because .htaccess parsing has already occurred.
+</UL>
+
+<P>
+<CODE><Location></CODE> and symbolic links:
+</P>
+<UL>
+<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
+ (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).
+</UL>
<P>
+<CODE><Files></CODE> and <CODE>Options</CODE>:
+</P>
+<UL>
+<LI>
+ Apache won't check for it, but using an <CODE>Options</CODE>
+ directive inside a <CODE><Files></CODE> section has no effect.
+</UL>
-Another note:
<P>
+Another note:
+</P>
<UL>
<LI>