Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have created a password protected directory with Cpanel, yet once I have added the required code to .htaccess it won't authorize?

Seems to be working yet it won't authorize with the password I created...

share|improve this question
    
have used this code... AuthType Basic AuthName "Restricted Files" AuthUserFile xx/passwd/ Require valid-user –  palbakulich Mar 12 '10 at 3:46
    
AuthUserFile xx/passwd is definitely pointing to a file –  palbakulich Mar 12 '10 at 6:30

1 Answer 1

AuthUserFile xx/passwd/

Looks like that's pointing to a directory and not a file. Did you actually create the htpasswd file? If so, AuthUserFile should be pointing to that.

share|improve this answer
    
sorry wasn't a solution, but have noted and made an edit to my question... thanks! –  palbakulich Mar 12 '10 at 6:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.