Mobile app version of vmapp.org
Login or Join
Caterina187

: 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

@Caterina187

Posted in: #Htaccess #Php

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?

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Caterina187

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme