Take the 2-minute tour ×
Server Fault is a question and answer site for 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

closed as off-topic by HopelessN00b Jan 13 at 21:02

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the 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
    
This question appears to be off-topic because it is about working with a service provider's management interface, such as cPanel. –  HopelessN00b Jan 13 at 21:02

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

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