Forum Moderators: phranque
Thanks In Advance
G
Thanks Again.
G
A brief intro to .htaccess [httpd.apache.org]
This should block access to txt files.
<Files *.txt>
Order Allow, Deny
Deny from all
</Files>
There may be an .htaccess file already present to have files in cgi-bin executed by default. It may be safer to put your text files in a subdirectory of cgi-bin along with the .htaccess I've suggested above.
Upload it as a text file htaccess.txt and rename it exactly .htaccess
The file may disappear from sight but is there and will then affect access to files in it's directory and those below it.