Password protected directories

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
Same issue here on 8 server

In Cpanel Not possible to overwrite password for user on protected directory

Frontpage extension not installed

??
If FrontPage extensions are not installed, please update your cPanel/WHM. If that does not resolve the issue, please contact our technical analysts. They can be contacted at the URL at the bottom of this post.
 

webstyler

Well-Known Member
Nov 20, 2003
465
2
168
Did you really mean to post passwords here? You might want to edit that post.
is only a password

there isn't link to server, site, directory
there isn't username
..

what's risk ?

Is important to post password because the issue is ONLY for any char that is accepted by cpanel but not work when put on login
 

ugaitzg

Registered
Feb 3, 2010
3
0
51
Password protect directories

Hi

I'm having the same problem.

We need to use Password protect directories, but it say's that FP is working, so we went to uninstall, but responded with the following error:

Starting uninstall, port: 80.
Error: The FrontPage Server Extensions are not installed on 'domain.com:80'.
Cleaning up .htaccess files...Done
Frontpage was uninstalled on the following domains: domain.com


any idea? how do you fix it?
====================================
cPanel 11.25.0-R42404 - WHM 11.25.0 - X 3.9
CENTOS 5.4 i686 standard
 

BOates

Active Member
PartnerNOC
May 28, 2005
39
13
158
Michigan
cPanel Access Level
Root Administrator
The "detection" that FrontPage extensions are installed seems to be a simple search for the string "frontpage" within the .htaccess file itself. It is not case-sensitive. Any mention of the string "frontpage" in .htaccess will cause cPanel to believe you have it installed, even if it's in a commented line.

For example, this line from a client's Joomla installation was causing cPanel to erroneously assume FrontPage was installed:

("frontpage" word highlighted)
Code:
SetEnvIfNoCase ^User-Agent$ .*([B][COLOR="Red"]frontpage[/COLOR][/B]|getright|getweb|go.?zilla|go-ahead-got-it|gotit|grabnet) HTTP_SAFE_BADBOT
Removing the string "frontpage" from the .htaccess expression fixed this entirely.

In short, if you're getting an error claiming FrontPage extension are installed but they are actually not installed, search your .htaccess for "frontpage" and remove all instances of it. Keep in mind, though, you may need to "fix" some of your expressions/rules when you remove the string "frontpage". In my example, the adjacent OR operator (the "|") had to be removed as well to keep the expression syntactically correct.

NOTE: If you *do* have FrontPage extensions intentionally installed, you'll simply need to decide whether or not you want to use FrontPage extensions or cPanel's .htaccess password protected directories. Either/or, not both. This "fix" is only for people who do NOT have FrontPage extensions installed, but are experiencing the error despite this fact.
 
Last edited:

me_suzy

Member
Sep 25, 2008
5
0
51
THIS WILL SOLVE THE PROBLEM:

Make a .htaccess file (a text document, rename it as .htaccess). Then open it and add this few lines:


AuthName "capchas"
AuthUserFile "/home/your_user_name/.htpasswds/public_html/capchas/passwd"
AuthType Basic
require valid-user


Save it. Then put the .htaccess into folder "capchas" (capchas is the name of the folder you want to protect, but can be any folder as well)

(your_user_name - is your user name from database)

That's all.