I'm trying to password protect a one page on my site using htpasswd and htaccess
heres the files
.htaccess
Code:
AuthUserFile /home/sites/mysite.com/public_html/.htpasswd
AuthType Basic
AuthName "My Secret Page"
<Files "mypage.php">
Require valid-user
</Files>
.htpasswd
Code:
username:99K2CQ/U.VJ3Q
When i load any page at on my site using those files i get a 500 Internal server error, however if i load mypage.php using https i get 403 forbidden error. Can anyone see a problem with those files/ know what else could be causing the error?