: Htaccess file causes 404 error I have added the following htaccess file to a directory I want to password protect: AuthName "Restricted Area" AuthType Basic AuthUserFile /home1/receive2/public_html/ekcepc/memberadmin/.htpasswd
I have added the following htaccess file to a directory I want to password protect:
AuthName "Restricted Area"
AuthType Basic
AuthUserFile /home1/receive2/public_html/ekcepc/memberadmin/.htpasswd
AuthGroupFile /dev/null
require valid-user
The .htpasswd file is located in the directory /memberadmin. Here is the .htpasswd file:
admin:VAGqZn/ZJ7ltI
When I go to the index.php file in the /memberadmin directory, I get a 404 error. This has never happened to me on other occasions. Can anyone help?
More posts by @Caterina187
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.