icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Choosing Surpass » Signed Up? » Password protect Folder Problems

Signed Up? If you're new with a question, ask here!

Reply
 
LinkBack Thread Tools Search this Thread
Old November 6th, 2006, 11:02 AM   #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
franwald is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 6th, 2006, 12:02 PM   #2 (permalink)
Surpass Fan
Excelling Contributor
 
cowboy's Avatar
 
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)?
cowboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 6th, 2006, 12:41 PM   #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.
franwald is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 6th, 2006, 2:26 PM   #4 (permalink)
Surpass Fan
Excelling Contributor
 
cowboy's Avatar
 
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)?
cowboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 6th, 2006, 2:44 PM   #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
franwald is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 6th, 2006, 3:38 PM   #6 (permalink)
Surpass Fan
Excelling Contributor
 
cowboy's Avatar
 
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)?
cowboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 6th, 2006, 10:00 PM   #7 (permalink)
Registered User
Seasoned Poster
 
Joined in Aug 2003
46 posts
Gave thanks: 0
Thanked 0 times
That's iT

That was the problem.
Thanks
franwald is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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