How to block access to Unix Hidden Directories in Web Clients?
We can block the hidden files and directories in the web-server by adding below config in httpd.conf file. # The following lines prevent any .files from being viewed by web clients.
<Files ~ "^\.">
Deny from all