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.

Can anyone give me an example of what a .htaccess file should look like on a server running Zues?

The one I copied from an Apache server doesn't work. I get a HTTP 403 when I try to access the directory, no prompt for username/password.

AuthName "Restricted Area"
AuthType Basic
AuthUserFile ../pathto/.htpasswd
Require valid-user

Thanks, Jimmy

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

I'm an idiot. The path to my .htpasswd file was wrong.

share|improve this answer
add comment

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.