Welcome to WebmasterWorld Guest from 18.104.22.168
Moderators: Ocean10000 & incrediBILL & phranque
You can do this the same way Apache prevents local config and password files from being served. Add the following to your configuration file:
<Files ~ "^\.bak"> Order allow,deny Deny from all Satisfy All </Files>
Hope this helps!
Pubcon Platinum Sponsor 2015