We serve up our pages with Apache 2.2 on Windows. We'd like to disallow viewing of pages with the .txt extension. How can we do something like that?
Another option which would arguably be even better would be to have a list of filetypes that are allowed to be served statically.
Just FYI: My original issue was mostly just because my file regex was wrong.