I made a HTML webpage with .htaccess
and .htpasswd
to provide password protection. If I open the URL via FTP it asks for a password(as it should). If the password is correct, it should navigate me to the specified index.html page, however it starts loading but I get an 500 Internal server error from the host. I suppose it cannot find the index.html...
BUT if I remove the .htaccess
file from the folder it can open it with no problem.
My .htaccess
looks like this:
AuthType Basic
AuthName "Protected Site"
AuthUserFile /www/myfolder/.htpasswd
require valid-user
Any help would be very appreciated!!