A question
Posted by: nickgzzjr (---.dsl.snantx.sbcglobal.net)
Date: August 09, 2006 08:10AM

I got htaccess and htpasswd to work correctly to password protect the main wamp page. I just have a question, When I enter sub pages like localhost/random it asks me for a password, is there a way so it only asks me for the password in the first page, and not in the sub ones.

Options: ReplyQuote
Re: A question
Posted by: CyberSpatium (67.170.181.---)
Date: August 09, 2006 08:30AM

can you post the contects of your htaccess file here so I can see if you have any problems

Options: ReplyQuote
Re: A question
Posted by: nickgzzjr (---.dsl.snantx.sbcglobal.net)
Date: August 10, 2006 05:21AM

There

AuthUserFile G:\wamp\PassFiles/.htpasswd
AuthName "Please Enter Password"
AuthType Basic
require valid-user

Options: ReplyQuote
Re: A question
Posted by: yfastud (72.236.169.---)
Date: August 10, 2006 02:46PM

I'm not really good at this, but try this basic setting, it only check password on the first page:

AuthUserFile X:/wamp/www/testfolder/.htpasswd
AuthName "Private Area"
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>

Or you can check my post here, second from top, to protect your sensitive folders:

[forum.wampserver.com]

Hope this help



Post Edited (08-10-06 15:12)

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: A question
Posted by: nickgzzjr (---.dsl.snantx.sbcglobal.net)
Date: August 13, 2006 05:30AM

Nope, that didnt work it still asks me for a passwords in all the sub folders.

Options: ReplyQuote
Re: A question
Posted by: yfastud (---.mia.bellsouth.net)
Date: August 13, 2006 05:57AM

Weird, check this out with username "tester" and password "test", only check password the first page.

[xalbum.jlbn.com]

So, might be something else other than htaccess.

Options: ReplyQuote


Sorry, only registered users may post in this forum.