Skip to content

The MultiViews directive must be disabled.

An XCCDF Rule

Description

Directory options directives are directives that can be applied to further restrict access to file and directories. MultiViews is a per-directory option, meaning it can be set with an Options directive within a <Directory>, <Location> or <Files> section in httpd.conf, or (if AllowOverride is properly set) in .htaccess files. The effect of MultiViews is as follows: if the server receives a request for /some/dir/foo, if /some/dir has MultiViews enabled, and /some/dir/foo does not exist, then the server reads the directory looking for files named foo.*, and effectively fakes up a type map which names all those files, assigning them the same media types and content-encodings it would have if the client had asked for one of them by name. It then chooses the best match to the client's requirements.

Property Value
Responsibility Web Administrator

ID
SV-32754r1_rule
Version
WA000-WWA056 A22
Severity
Medium
Updated

Remediation Templates

A Manual Procedure

Edit the httpd.conf file and add the "-" to the MultiViews setting, or set the options directive to None.