Is there a way to have apache not serve specific file types? For instance I do not want any *.bak files to be served but they have to stay in the web directory.
dmorison
8:34 pm on May 8, 2003 (gmt 0)
Hi,
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>