#1 (permalink)  
Old 12-15-2004, 04:50 PM
Registered User
 
Join Date: Nov 2004
Posts: 2
phytonet is on a distinguished road
password protected sub-dir, but root dir prompt for password

hi there, i tried from cpanle to setup password protection for one sub directory, which is working, when entering the sub-dir, like http://example.com/abc/cde/, it prompts for login.

but the problem is when entering the site, like http://example.com, it also pops up and prompts for username/password.

i have tried to remove fp extensions and restarted apache, but that didn't help.

i checked the root dir, it has a blank .htaccess, zero byte.

what could go wrong. pls advise. thanks for your help.

Last edited by phytonet; 12-15-2004 at 05:35 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2005, 10:57 PM
Registered User
 
Join Date: May 2002
Posts: 10
Choppy
I got the same problem with one client site also..

Really silly. Though hope someone can help us out here.

Please

Thanks Phillip
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-17-2005, 12:29 AM
bijo's Avatar
Registered User
 
Join Date: Aug 2004
Location: India
Posts: 475
bijo is on a distinguished road
Quote:
Originally Posted by phytonet
hi there, i tried from cpanle to setup password protection for one sub directory, which is working, when entering the sub-dir, like http://example.com/abc/cde/, it prompts for login.

but the problem is when entering the site, like http://example.com, it also pops up and prompts for username/password.

i have tried to remove fp extensions and restarted apache, but that didn't help.

i checked the root dir, it has a blank .htaccess, zero byte.

what could go wrong. pls advise. thanks for your help.

Hi phytonet,

I hope this problem due to .htaccess file.
Run this command on the home directory of the domain example.com

find /home/example | grep .htaccess

After run this command you will get some .htaccess file. If you get a .htaccess file in the images directory (or, similar directory) remove it.

eg: /home/example/public_html/images/.htaccess

May be it will help to solve your problem.
__________________
Bijo
Yahoo: "bijo505"
Msn: "bijo_baby@hotmail.com"
AIM: "bijobaby"

http://slashome.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-30-2005, 01:21 PM
Registered User
 
Join Date: Jan 2005
Posts: 2
dlbelton is on a distinguished road
also... if you password protected a subfolder, and you try to load a page from an area that is not password protected that refers to a file in the protected folder, you will get the message.

Make sure that the page you are trying to load does not reference any images or files in the password procted folder.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:57 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc