MacOS X Finder reveals contents of Apache Web files

Summary
MacOS X creates a hidden file, '.FBCIndex' in each directory that has been viewed with the Finder. This file contains the content of the files present in the directory, giving an attacker information on the HTML tags, JavaScript, passwords, or any other sensitive word used inside those files.
Solution
Use a <FilesMatch> directive in httpd.conf to restrict access to 'hidden' files: <FilesMatch '^\.'> Order allow, deny Deny from all </FilesMatch> And restart Apache.