Password protection issues

vbfanforlife

Verified User
Joined
Sep 8, 2008
Messages
10
Hello,

I run CentOS, and have consulted the past threads here, and documentation elsewhere, trying to password protect directories.

I have used the password protection function within DirectAdmin, only to be met with 404 errors on those directories.

I have checked the syntax for my .htaccess and .htpasswd files, and they are correct. Yet, whether I protect a directory through DA or myself, it ends up with the same result: a 404 error.

What am I doing wrong here? :eek:
 
Would make no sense that you get a 404 error it doesnt do that.

Yet that's precisely what's happening. I've been through every check that I can do, and I've ensured I properly chmodded the .htaccess/.htpasswd files, and it simply doesn't work, preventing me from protecting the admin panels for apps such as Wordpress and vBulletin.

EDIT: What appears to be happening is that when I password protect a directory, the server thinks that directory simply doesn't exist. I've never encountered this before, and there is no logical explanation, as it defies the function of the password protection, yet this is what is occurring.
 
Last edited:
And what method did you use to create the protection?

Well, I first used the password protection function in DirectAdmin, and first encountered this error.

I then manually created the .htaccess/.htpasswd files by SSH, and encountered the same thing.
 
Back
Top