httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] Basic Authentication Problem
Date Mon, 17 Mar 2003 14:31:29 GMT
>-----Original Message-----
>From: Jim Mozley []
>I am using apache version 2.0.44 with mod_perl on Solaris and am having
>problems with basic authentication. I have done what I believe is the
>"normal" configuration (having done this before with apache) 
>of creating a
>password file with appropriate permissions for the web server 
>to read and
>set up the server with a directive to test as below.
>http.conf contains:
><Files mypage.html>
>    Order allow,deny
>    AuthType Basic
>    AuthName "Authorised Users Only"
>    AuthUserFile /usr/local/apache/conf/userauth
>    Require valid-user
>error_log shows:
>client denied by server configuration: 

This has nothing to do with password access (mod_auth). This message
arises because the request is the subject of a Deny directive. Look for
"Allow", "Deny" and "Order" in your config (you might have "Deny from
all" somewhere) and check the docs to verify that you understand what
they're for and what they're doing.

The presence of:

	>    Order allow,deny

in your snippet above hints that you might be misunderstanding something
here since this directive doesn't do anything and isn't linked to any
Allow or Deny directives..

Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

>I have tried LogLevel at debug and using snoop to see the 
>packets sent out
>by the server but cannot see anything sent back and see 
>nothing more than
>the error above in the log file. I have also tried with 
>authorisation on
>directories and the error is the same. If I remove the 
>authentication the
>page is displayed correctly.
>Any ideas for further debugging or possible causes would be welcome.
>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:

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 

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