News
.htaccess – Force text files
by admin on Jun.14, 2010, under News
If you create a new .htaccess file containing the following code, all files in the current directory will be intepreted as text or html files :
ForceType text/html
Additionally it’s possible to restrict directory listing by using the following command:
Options -Indexes