Date: Tue, 29 Jan 2002 20:23:08 -0800 (PST) From: Haikal Saadh <wyldephyre2@yahoo.com> To: questions@freebsd.org Subject: apache/pam Message-ID: <20020130042308.16670.qmail@web11804.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
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 <Directory /usr/stats> Options Indexes AuthPAM_Enabled on AllowOverride None AuthName "Border0 statistics" AuthType "basic" require user haikal require group wheel </Directory> #*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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020130042308.16670.qmail>