Quote:
Originally Posted by Loco.M
As I said in the pm, I would contact your host and ask them
the htaccess file isn't generally viewable view the web
|
When a visitor tries to obtain access to your .htaccess or .htpasswd file, the server automatically generates a 403 forbidden error, even with the file permissions at their default settings.
However, you can apply a bit more security to your .htaccess files by adding the following code:
Code:
<Files .htaccess>
order allow,deny
deny from all
</Files>
Contacting the host provider is the best solution as Loco says.
Another thing which people forget to do is when they write a .htaccess file they save it as htaccess.txt and then you need to upload this to your root. When its there you need to rename it to .htaccess removing the .txt extension. I think the reason you can view your htaccess file is perhaps you still have the .txt or some other extension still attached