The URL-path name must be set to the file path name or the directory path name.

From APACHE 2.2 Server for UNIX Security Technical Implementation Guide

Part of WA00560

SV-33229r1_rule The URL-path name must be set to the file path name or the directory path name.

Vulnerability discussion

The ScriptAlias directive controls which directories the Apache server "sees" as containing scripts. If the directive uses a URL-path name that is different than the actual file system path, the potential exists to expose the script source code.

Check content

Enter the following command: grep "ScriptAlias" /usr/local/apache2/conf/httpd.conf. If any enabled ScriptAlias directive do not have matching URL-path and file-path or directory-path entries, this is a finding.

Fix text

Edit the httpd.conf file and set the ScriptAlias URL-path and file-path or directory-path entries.

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer