The arguments can be preceded by "+" or "-",
in which case they are added or removed. The following command, for
example, adds Indexes but removes
ExecCGI:
Options +Indexes -ExecCGI
If no options are set, and there is no
<Limit> directive, the effect is as if
All had been set, which means, of course, that
MultiViews is not set. If any options are set, All is
turned off. This has at least one odd effect: if you have an
... /htdocs directory without an
index.html and a very simple Config file, and you access
the site, you see a directory of ... /htdocs.
For example:
User Webuser
Group Webgroup
ServerName www.butterthlies.com
DocumentRoot /usr/www/site.ownindex/htdocs
If you add the line:
Options ExecCGI
and access it again, you see the following rather baffling message:
FORBIDDEN
You don't have permission to access / on this server
The reason is that when Options is not mentioned,
it is, by default, set to All. By switching
ExecCGI on, you switch all the others off,
including Indexes. The cure for the problem is to
edit the Config file so that the new line reads:
Options +ExecCGI
Similarly, if "+" or "-" are not used and
multiple options could apply to a directory, the last most specific
one is taken. For example:
Options ExecCGI
Options Indexes