# Deny access to .ini files <Files "\.ini$"> # Apache >= 2.4 <IfModule mod_authz_core.c> Require all denied </IfModule> # Apache <= 2.2 <IfModule !mod_authz_core.c> Deny from all </IfModule> </Files>
info at phpclasses dot org