This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
I need to stop the server from serving *.inc files, please can someone advise how I do this ideally globally for the whole sever or if not specific for a host?
Howdy,
There's an article here that describes how to block files containing a particular extension:
http://www.ducea.com/2006/07/21/apache-tips-tricks-deny-access-to-certai...
Where would I add this for a global server wide setting?
You'd add that to any part of your Apache config that's not within a VirtualHost block (a VirtualHost block would be how to add it for one domain).
-Eric
Thank you all working great!