From owner-freebsd-questions Tue Jan 29 20:23:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web11804.mail.yahoo.com (web11804.mail.yahoo.com [216.136.172.158]) by hub.freebsd.org (Postfix) with SMTP id EB6F137B405 for ; Tue, 29 Jan 2002 20:23:08 -0800 (PST) Message-ID: <20020130042308.16670.qmail@web11804.mail.yahoo.com> Received: from [202.1.201.227] by web11804.mail.yahoo.com via HTTP; Tue, 29 Jan 2002 20:23:08 PST Date: Tue, 29 Jan 2002 20:23:08 -0800 (PST) From: Haikal Saadh Subject: apache/pam To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I'm trying to get apache to authenticate requests with pam, and I'm not having any luck. I've got DSO support enabled as shown by httpd -l. I have tried installing manually, as well as thru the port, but both times I get the same result. Oh, and I am prompted for a username/password when trying to view the page with a browser. Any ideas why? httpd-error.log says:--> [Tue Jan 29 14:38:48 2002] [error] (2)No such file or directory: access to /stats failed for 192.168.1.162, reason: Module is unknown <-- Snip from /etc/pam.conf: --> #apache authentication httpd auth required pam_unix.so httpd account required pam_unix.so # If we don't match anything else, default to using getpwnam(). other auth required pam_unix.so try_first_pass other account required pam_unix.so try_first_pass <-- And snips from httpd.conf --> #*snip* LoadModule pam_auth_module libexec/apache/mod_auth_pam.so #*snip* AddModule mod_auth_pam.c #*snip Alias /stats /usr/stats Options Indexes AuthPAM_Enabled on AllowOverride None AuthName "Border0 statistics" AuthType "basic" require user haikal require group wheel #*snip* <-- __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message