Advertisement

07.18.2008 at 08:41PM PDT, ID: 23578695
[x]
Attachment Details

htaccess password

Asked by diarmuidod in Web Servers, Linux, Linux Network Security

I have just created an htaccess password protected directory.

The first time you enter the username and password it does not let you in to the directory it just slows you the enter password dialog box again.

The user name and password does work the second time you enter them.

The only issue I encountered when setting up the htaccess password was with the path to the .htpasswd file.

The code I am using is as follows:

AuthType basic
AuthName "prompt"
AuthUserFile /hsphere/local/home/myaccountname/.htpasswd
AuthGroupFile /dev/null
Require valid-user

It is a linux server.

Perhaps I still dont have the path to the password file just right?

Can anyone advise?


Many thanks - D
Start Free Trial
[+][-]07.20.2008 at 07:01PM PDT, ID: 22047693

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 05:21AM PDT, ID: 22058495

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 09:40AM PDT, ID: 22061168

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 09:47AM PDT, ID: 22061237

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 09:55AM PDT, ID: 22061320

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 10:03AM PDT, ID: 22061397

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 10:23AM PDT, ID: 22061578

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 10:36AM PDT, ID: 22061696

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Web Servers, Linux, Linux Network Security
Sign Up Now!
Solution Provided By: agriesser
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.22.2008 at 10:50AM PDT, ID: 22061825

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628