From owner-freebsd-questions Wed Jan 17 06:38:59 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA14047 for questions-outgoing; Wed, 17 Jan 1996 06:38:59 -0800 (PST) Received: from nightflight.com (nightflight.com [205.162.141.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id GAA14042 for ; Wed, 17 Jan 1996 06:38:56 -0800 (PST) Received: from DTIHOST.datatrek.com (gcrutcher.datatrek.com [204.33.82.254]) by nightflight.com (8.6.12/8.6.9) with SMTP id GAA12198; Wed, 17 Jan 1996 06:42:44 -0800 Message-Id: <2.2.32.19960117143822.00674600@nightflight.com> X-Sender: gcrutchr@nightflight.com X-Mailer: Windows Eudora Pro Version 2.2 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Wed, 17 Jan 1996 06:38:22 -0800 To: Gary Palmer From: Gary Crutcher Subject: Re: apache httpd (and ncsa httpd passwd does not work) Cc: questions@freebsd.org Sender: owner-questions@freebsd.org Precedence: bulk Here is an example .htaccess and .htpasswd file that works for me with apache v1.0 and FBSD 2.1 and Solaris 2.5 (SPARC-based). My private dir is /dthome/offsite/public_html. I have changed usernames and passwords for security reasons, but this is a working example. *****.htaccess file***** AuthUserFile /dthome/offsite/public_html/.htpasswd AuthGroupFile /dev/null AuthName password authentication to My Private Directory AuthType Basic require fred ******.htpasswd****** fred:EfcekbkmbHjYw Hope this helps. Gary At 11:22 PM 1/16/96 -0800, you wrote: >Seppo Kallio wrote in message ID >: >> On Tue, 16 Jan 1996, Albert Hayden wrote: >> > I've upgraded my system to 2.1 and have installed the apache package. >> > The password protection files don't work. It recognizes them, but then >> > fails while checking the .htpasswd file. It doesn't return a >> > misconfiguration error, so I'm unsure what's going on. > >> I have same problem with NCSA httpd. > >Sudden thought. Perhaps it doesn't like the 60-odd character MD5 >passwords that are used by default in FreeBSD unless you install the >DES package? I know that at least xlock had problems with MD5 >passwords... > >Gary > > > ------------------------------------------------------------- Gary Crutcher E-mail: gcrutchr@nightflight.com Webmaster URL: http://www.nightflight.com Voice: 619-631-0666 -------------------------------------------------------------