My website is on a Knownhost VPS Server and for some reason apache is not processing .htaccess files correctly. I have a wordpress membership site and I use Wishlist member (plugin) to protect content on the website. The specified PAGES are being protected; however, no FILES are being protected. Wishlist member puts a .htaccess file in the same folder the specified files are located in order for the files to be protected. I noticed there was an issue with the .htaccess file. It seems some features of .htaccess are not being processed by my server.
For example; I created a "test" folder and I placed a .htaccess file with following body in the folder:
<Limit GET POST>
deny from all
</Limit>
I then placed an examplefile.txt file in the folder. Within my test, I was able to access my file (http://www.example.com/test/examplefile.txt), even though I should NOT be able.
The folder directory "test" (http://www.example.com/test/) is being protected. But it is not working for the files inside the directory.
I understand that certain directives will work only if the required Apache module is installed. According the apache.org website, the "limit directive" should be able to be processed with the core of apache. Or is there another apache module that I need to install.
Does anybody know why my files are not being protected? Is this an .htaccess/apache problem or something totally unrelated?