From owner-freebsd-isp Sat Aug 31 12:47:25 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA07712 for isp-outgoing; Sat, 31 Aug 1996 12:47:25 -0700 (PDT) Received: from linux.sjs.com (steve@linux.sjs.com [199.245.191.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id MAA07707 for ; Sat, 31 Aug 1996 12:47:15 -0700 (PDT) Received: from localhost (steve@localhost) by linux.sjs.com (8.7.5/8.7.3) with SMTP id PAA32419 for ; Sat, 31 Aug 1996 15:46:50 -0400 Date: Sat, 31 Aug 1996 15:46:50 -0400 (EDT) From: Steve To: freebsd-isp@freebsd.org Subject: FreeBSD & Apache Authentication? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I can't seem to get Password authentication working with Apache on FreeBSD. I created a password file with dbmmanage called junk (junk.db) and dbmmanage can view the file fine. I compiled Apache V1.1.1 with Module db_auth_module mod_auth_db.o I installed DES on the FreeBSD system. This is what I see in my error_log when I try to access the directory with the .htaccess file in it: [Sat Aug 31 15:45:15 1996] access to /usr/local/etc/httpd/password/junk failed for linux.sjs.com, reason: could not open db auth file [Sat Aug 31 15:45:15 1996] access to /home/sites/metwest/stats failed for linux.sjs.com, reason: DB user steve not found I added a perror("DEBUG") statement into the module code and when I try to access the page, this prints on the screen: DEBUG: No such file or directory Here is my .htaccess file: AuthName Traffic AuthType Basic AuthDBUserFile /usr/local/etc/httpd/password/junk require valid-user and here is a directory of /usr/local/etc/httpd/password # ls -la | more total 267 drwxr-xr-x 3 root bin 1024 Aug 24 23:31 . drwxr-xr-x 9 root bin 512 Aug 20 15:32 .. -rw-r--r-- 1 root bin 16384 Aug 30 09:48 junk.db Any ideas on what the problem might be? Regards, Steve Stuczynski S.J.S. Communications e-mail: steve@sjs.com