Mar 21, 2016
7
2
3
Earth
cPanel Access Level
Root Administrator
Hello,

I got a problem on a Cpanel hosted website, suddenly the website is password protected with a "authentication required" similar to when we enable directory privacy from the cpanel interface.
A year ago we password protected this site using the embedded directory password protection, but the protection was removed once the site was publicly launched.

In the "directory privacy" no directory is password protected, but i can see a .htpasswds at the root of the account, containing a tree of folder until our site's document root.
Each folder contains an empty passwd file.

What could i try to disable all http auth on this hosting?

In advance, thank you
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
HI @Xavier Crespin

Can you check if there's an .htaccess file in the document root for the domain that contains an AuthType directive similar to this:

Code:
AuthType Basic
AuthName "$user"
AuthUserFile "$/path/to/.htpasswds/passwd/file"
require valid-user