Apache configurations

Useful Apache configuration directives

Forbid access to hidden (dot) files and directories

<FilesMatch "^\.">
    Order Deny,Allow
    Deny from All
    Satisfy All
</FilesMatch>
<DirectoryMatch "^.*/\.">
    Order Deny,Allow
    Deny from All
    Satisfy All
</DirectoryMatch>