if you look at the >httpd.conf< - File provided within RedHat 7.1 there is
an example:

Alias /upload /tmp
<Location /upload>
    EnablePut On
    AuthType Basic
    AuthName Temporary
    AuthUserFile /etc/httpd/conf/passwd
    EnableDelete Off
    umask 007
    <Limit PUT>
       require valid-user
    </Limit>
</Location>

I guess that the file "/DENIS/.htpasswd" doesn't exist in your system !!!
???

I guess it should look like this for you (pls be sure that the AuthUserFile
exists!!!)

<Location /var/www/html/whatever>
    AuthUserFile /etc/httpd/conf/whatever-filename-you-want.passwd
    AuthType Basic
    AuthName "Authorization Required"
    require valid-user
</Location>

I don't think that you will need the "<Limit GET>"....

Greetings,
  -(sys)op
--------------------------------------------------------------------
 Oliver Pitzeier
 UNIX + Domain       mail:         mailto:[EMAIL PROTECTED]
 Administrator
--------------------------------------------------------------------
Registered Linux user #232383: http://counter.li.org/
--------------------------------------------------------------------
[root@earth]$ ps auxw | grep [Zz][Oo][Pp][Ee] | awk '{ kill -9 $2 }'
[root@earth]$ find / -name "*[Zz][Oo][Pp][Ee]*" -exec \rm -Rf {} \;
--------------------------------------------------------------------


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Denis Croombs
Sent: Wednesday, October 17, 2001 5:12 PM
To: Seawolf Send (E-mail)
Subject: Apache access control will not allow me to login


Hi

I have setup access control for a directory and using the .htaccess file
{
AuthUserFile /DENIS/.htpasswd
AuthGroupFile /dev/null
AuthType Basic
AuthName "Authorization Required"
<Limit GET>
require valid-user
</Limit>

but I keep getting the following error

Authorization Required
This server could not verify that you are authorized to access the document
requested. Either you supplied the wrong credentials (e.g., bad password),
or your browser doesn't understand how to supply the credentials required.

Has anyone come across this before ?
Any clues as to where I am going wrong ?

Many thanks

Denis Croombs



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to