Cannot Password Protect Directories

Status
Not open for further replies.

2003 squadron

New Member
Messages
15
Reaction score
0
Points
0
Hello,

I am trying to use the "Password Protect Directories" feature through the cPanel X interface. However, each time I try I get the following error;
Warning:
Due to Frontpage Extensions currently being installed and enabled, password protected directories will not work. If you wish to use this feature instead of Frontpage, please disable the Frontpage extensions.

You can use Frontpage directly to create password protected directories just like you normally can here. Alternatively, you can disable frontpage extensions and still use Frontpage to publish the site design via Webdav or FTP.

I don't remember enabling "Frontpage Extensions" or anything like that, so could you please tell me how to resolve this issue - or an alternate way to password protect certain directories.
 

descalzo

Grim Squeaker
Community Support
Messages
9,372
Reaction score
326
Points
83
Try going to the .htaccess file in public_html and removing any line that says Front Page.
 

descalzo

Grim Squeaker
Community Support
Messages
9,372
Reaction score
326
Points
83
Also, for reference, you can put a .htaccess file in the directory you want locked and add:

Code:
AuthType Basic
AuthName "Treasure Chest"
AuthUserFile "/home/cPanelUserName/.htpasswds/public_html/locked/passwd"
require valid-user

AuthName is what you want to call the protected region
In this case, the directory is named 'locked'

Then go to cPanel and use Password Protect Directories to set users/passwords for the
 
Status
Not open for further replies.
Top