Password protect and indexing not working

Stobe

Member
Sep 26, 2003
7
0
151
Hello,

I have a client that tried to password protect a directory, and tried to turn indexing off, and it did not work.

I checked his .htaccess file, and it looked fine. Here it is:

Code:
AuthType Basic

AuthName "test"

AuthUserFile "/home/username/.htpasswds/Test/passwd"


require valid-user
Options All -Indexes
This is the .htaccess file within the /Test directory.

Do you see anything wrong with it?

Thanks in advance,
Stobe
 

Stobe

Member
Sep 26, 2003
7
0
151
There's no errors at all.

It simply lets you go right to the /Test directory and see all files there, w/o any index file present.

-Stobe
 

Stobe

Member
Sep 26, 2003
7
0
151
Tried to setup a test on one of my domains, and it did the same thing, so it is server wide?

Did a test on another server I have, and it worked great. Both are running latest cpanel.

-Stobe
 

sparek-3

Well-Known Member
Aug 10, 2002
2,021
227
368
cPanel Access Level
Root Administrator
Try restarting your browser or using a different browser to insure that the login information is not stored in your browser.