Some things to check would be: 1. Within the Directory directive, check the AllowOverride statement. It must contain the AuthConfig directive-type.
2. AccessFileName needs to be .htaccess if that's the name of your file. 3. Have to reboot the server too :-) If you haven't seen it already you might want to look at http://httpd.apache.org/docs/howto/htaccess.html. Good advice on the use of .htaccess files. Ernest Johanson Systems Administrator Fuller Theological Seminary On Wed, 17 Sep 2003, Roberto Sanchez wrote: > Date: Wed, 17 Sep 2003 17:30:57 +0200 (CEST) > From: Roberto Sanchez <[EMAIL PROTECTED]> > To: Debian User <[EMAIL PROTECTED]> > Subject: Apache access control > > I am trying to get Apache 1.3 to prompt for a password for some file located > in a particular directory on one of my sites. > > I created a password file like this: > > # htpasswd -c /etc/apache/passwd <username> > > I entered the password and then created this .htaccess file in the appropriate > directory: > > AuthType Basic > AuthName "Please Authenticate" > AuthUserFile /etc/apache/passwd > Require user valid-user > > I have read through all the related Apache docs on access control and googled > around for some time. I can't figure out why this will not prompt for a > password. I kind of need to figure this out before I can take the site live > (the password protection is a requirement from higher headquarters). > > -Roberto > > ___________________________________________________ > Yahoo! Messenger - Nueva versión GRATIS > Super Webcam, voz, caritas animadas, y más... > http://messenger.yahoo.es > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]