Table 202 Switches Used by the Options Directive

Switch

None All

Indexes Includes

FollowSymLinks

ExecCGI

MultiViews

Description

None of the available options are enabled for this directory.

All the available options, except for Multiviews, are enabled for this directory.

In the absence of an index.html file or another Directoryindex file, a listing of the files in the directory is generated as an HTML page for display to the user.

Server-side includes (SSIs) are permitted in this directory. This can also be written as includesNoExec if you want to allow includes but don't want to allow the exec option in them. For security reasons, this is usually a good idea in directories over which you don't have complete control, such as userDir directories.

Allows access to directories that are symbolically linked to a document directory. You should never set this globally for the whole server and only rarely for individual directories. This option is a potential security risk because it allows web users to escape from the document directory and could potentially allow them access to portions of your file system where you really don't want people poking around.

CGI programs are permitted in this directory, even if it is not a directory defined in the scriptAlias directive.

This is part of the mod_negotiation module. When a client requests a document that can't be found, the server tries to figure out which document best suits the client's requirements. See

http://localhost/manuals/mod/_mod_negotiation.html for your local copy of the Apache documentation.

Was this article helpful?

0 0

Post a comment