Thanks for that, seems to have done the trick. 🙂
However, this leads me to another question. At the moment, if you point the browser at a directory, you receive a list of all the files in that directory. I've worked out how to stop it showing .inc files in this list, but I'd rather turn it off all together.
I'm sure this has been asked a thousand times before, but I'm sorry to have to ask: how do I turn off directory listings?
In httpd.conf there a section that starts:
<IfModule mod_autoindex.c>
#
# FancyIndexing is whether you want fancy directory indexing or standard
#
IndexOptions FancyIndexing
etc. Is there a value for IndexOptions that works, or am I barking up the wrong tree? 😕