kaisellgren
01-24-2007, 05:31 PM
Hi,
I use
<FilesMatch "\.txt">
Order allow,deny
Deny from all
</FilesMatch>
To block visitors access to all .txt files in the directory where the .htaccess is placed. However, this obviously does not work. It blocks visitors from seeing the file in the directory listing, but if I type full path to any txt file I will see the contents of that file easily.
How do I block access to all .txt files ENTIRELY?
Thank you for your help!
I use
<FilesMatch "\.txt">
Order allow,deny
Deny from all
</FilesMatch>
To block visitors access to all .txt files in the directory where the .htaccess is placed. However, this obviously does not work. It blocks visitors from seeing the file in the directory listing, but if I type full path to any txt file I will see the contents of that file easily.
How do I block access to all .txt files ENTIRELY?
Thank you for your help!