|
|
#1 (permalink) |
|
Registered User
Seasoned Poster
Joined in Aug 2003
46 posts
Gave thanks: 0
Thanked 0 times
|
Password protect Folder Problems
Hi folks.
I hope you can help. I am trying to protect a folder using the pasword protect function in C-panel. It goes like this. User clicks on the main menu to page-"Entry"" Page "Entry"" offers three choices one of which is [Log Me In]. This is linked to a pass word protected folder with the "Members" page inside.. Technically it works. The problem is, the password requirement opens at the "Entry" page not at the "Members" page. I've checked and rechecked the links and they are ok. It works in my computer but not on the site. Any suggestions? Thanks Frank |
|
|
|
|
|
#2 (permalink) |
|
Surpass Fan
Excelling Contributor
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
937 posts
Gave thanks: 2
Thanked 95 times
|
What is your directory structure for the member page in relation to the entry page?
__________________
Where would you be if you were at the highest court in the land (US)? |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Seasoned Poster
Joined in Aug 2003
46 posts
Gave thanks: 0
Thanked 0 times
|
Linking
The Entry Page links to a redirect page located in a seperate forder, which then links to the folder with the Members page.
The folder with the Members page is the one that is protected. The password pop-up opens when you enter the "Entry" page it should only open when you enter the membership folder. Currently it opens prematurely on the "Entry" page which is not located in a folder. You can click "Cancel" on the password pop-up and the "Entry" page opens up. Click the "let Me In" link and the pasword-popup opens again, this time requiring a password to continue. |
|
|
|
|
|
#4 (permalink) |
|
Surpass Fan
Excelling Contributor
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
937 posts
Gave thanks: 2
Thanked 95 times
|
There must be an .htaccess file in the entry folder. What is in it?
__________________
Where would you be if you were at the highest court in the land (US)? |
|
|
|
|
|
#5 (permalink) |
|
Registered User
Seasoned Poster
Joined in Aug 2003
46 posts
Gave thanks: 0
Thanked 0 times
|
It is in the membership forlde.
here is what it reads AuthType Basic AuthName "Restricted Area" AuthUserFile "/home/sassyde/.htpasswds/members/passwd" require valid-user |
|
|
|
|
|
#6 (permalink) |
|
Surpass Fan
Excelling Contributor
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
937 posts
Gave thanks: 2
Thanked 95 times
|
Is there an .htaccess file in the folder with the entry.php file?
How does the folder with the entry.php file relate to the folder with the member.php file. What is the path to each? If you have only one htaccess file with Auth commands, then the entry folder must be below the membership folder. Or you have another .htaccess file somewhere within the path.
__________________
Where would you be if you were at the highest court in the land (US)? |
|
|
|