[EMAIL PROTECTED] wrote:
> 
> Hi there,
> 
> We have setup a folder which we want to protect with a username and
> password.  
> but whenever I type in the username and password we have setup I
> continually get
> 
> The server encountered an internal error or misconfiguration and was unable
> to complete your request.
> ....
> More information about this error may be available in the server error log

So? What does it say in the server error log?

How are you accessing the folder - do you try to get a file? Are you
trying to execute a CGI program? (the error looks more like the kind of
response you get from a failed CGI program).

By the way, there are a couple of snags with your .htaccess file:
 
> AuthUserFile E:/WebSites/acro/password/.htpasswd

This is a funny filename to use. "htpasswd" is the name of a program in
the apache suite - it is the program used to make password files. Don't
you find it confusing to type:

htpasswd -c .htpasswd test?

Also, what are you going to call your next password file (e.g. for a
different folder)? I usually use the extension "pwd" and a name which
reflects the contents of the folder, so for example, I have password
files called "member_section.pwd", "private_area.pwd" and so on.

> AuthName Test Signon

This is the phrase which appears in the pop-up password challenge. If
you want more than one word you are supposed to put it in quotes, so you
should have:

AuthName "Test Signon"

> AuthType Basic

Fine.

> require user test

So only one user (called "test") can enter this area. Is this what you
want? A more general solution is to put:

Require valid-user

then anyone listed in the password file (called, e.g. "test_area.pwd")
can get in. By the way, use the correct case in directives (i.e. capital
"R" for Require) - I know it doesn't matter with windows but maybe one
day you'll be working on a unix system... If you get lucky.

Rgds,

Owen Boyle.
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to