httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Obeda (ACM)" <>
Subject Re: [users@httpd] Authentication problem.
Date Mon, 26 Apr 2004 01:34:38 GMT
(comment inline, below)
>-----Original Message-----

>Greg Miell wrote:
>>Hey all,
>>I am having a problem with authentication with my apache server. The server
>>(v2.0.49) is running under Win XP Pro and has a virtual host
>><VirtualHost *:80>
>>    ServerName admin.**********.net
>>    ServerAlias admin.**********.net
>>    DocumentRoot "C:/inetpub/webadmin"
>><Directory "C:/inetpub/webadmin">
>>    AllowOverride AuthConfig
>>    AuthType Basic
>>    AuthName "Administrator Password"
>>    AuthUserFile "C:/inetpub/adminpasswd"
>>    Require User admin
>>I have created the adminpasswd file using "htpasswd -c
>>C:\inetpub\adminpasswd admin"

I found that "sometimes" I need to explicitly add the -m flag to 
htpasswd on Win(XP); (perhaps another copy of htpasswd doesn't do 
so by default?  Check that you're using the copy of htpasswd that
comes with Apache ...)  Otherwise, as suggested, the error log 
should suggest where the credentials are failing.  

>>But I don't seem to be able to login to the virtual host, this appears after
>>3 logon attempts:
>>"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."
>Are you sure you use the right password? What is the error log message?
>>I am using MS IE 6.0.2800 to access the server.
>>Greg Miell
>>Dell Dimension 2350
>>2.5GHz Intel Pentium 4

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message