Name
Options
Synopsis
Options
options
...
Description
[server config, or within <VirtualHost> or
<Directory>, or .htaccess]
Controls the degree of advanced features that you wish to allow on
your server. One or more options may be listed on the Options
line, separated by spaces. Valid entries are:
-
None No features are enabled in this directory.
-
Indexes Allows clients to request a formatted index of this directory if no
DirectoryIndexhas been specified.-
Includes Server-side includes are enabled in this directory.
-
IncludesNoExec Server-side includes (SSIs) are enabled in the directory, but the exec feature and the include of CGI scripts is disabled.
-
ExecCGI Execution of CGI scripts is allowed in this directory.
-
MultiViews Content-negotiated multiviews are allowed in this directory.
-
FollowSymLinks The server follows symbolic links in this directory. The pathname is not altered to reflect to the new location.
-
SymLinksIfOwnerMatch The server follows symbolic links only if the target file/directory is owned by the same user ID as the link.
-
All All features are enabled in this directory.
The Options directive can be used in both the global access.conf
and in per-directory .htaccess files. There can be only one
Options directive per Directory segment. If omitted, the
default is:
Options All
(All)
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access