httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Pierce" <paged...@speakeasy.net>
Subject Re: [users@httpd] Authentication problems
Date Thu, 11 Dec 2003 22:01:43 GMT

How did you create the file .htpasswd? 

To create the file use:

htpasswd -c /usr/local/apache/passwd/password user name

Or use the path that you have Apache installed in.  The one above is just
an example.



*********** REPLY SEPARATOR  ***********

On 12/11/2003 at 4:59 PM Stephen Hardisty wrote:

>Howdy,
>I'm trying to get basic authentication working but when I go to the site,
>I'm not prompted for a username or password. I have the following entry in
>my config:
>
><Directory /var/www/html/blah>
>	AllowOverride AuthConfig
>	AuthUserFile /var/www/html/blah/.htpasswd
>	AuthName "Blah login"
>	AuthType Basic
>	require valid-user (do you have the user name in the actual file?)
>	order deny,allow
></Directory>
>
>No matter what I put in here (and I've tried loads of combinations),
>nothing happens. I'm going to have a fit soon I think. Is there anything
>that turns off authentication or am I just doing something dumb? FYI, I'm
>using Apache 2.0.40.
>
>Hope you guys can help.
>
>Cheers!
>
>________________________________________________________________________
>This email has been scanned for all viruses by the MessageLabs Email
>Security System. For more information on a proactive email security
>service working around the clock, around the globe, visit
>http://www.messagelabs.com
>________________________________________________________________________
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message