Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Aug 1996 15:46:50 -0400 (EDT)
From:      Steve <steve@linux.sjs.com>
To:        freebsd-isp@freebsd.org
Subject:   FreeBSD & Apache Authentication?
Message-ID:  <Pine.LNX.3.93.960831152513.29794L-100000@linux.sjs.com>

next in thread | raw e-mail | index | archive | help

	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

<Limit GET>
require valid-user
</Limit>

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.93.960831152513.29794L-100000>