Protecting wp-config.php with .htaccess: what I wrote in 2012 and what has changed
The 2012 rules still block wp-config.php, but they use Apache 2.2 syntax, the .htaccess rule had a regular expression bug and backup copies were left out.
WordPress · Security