From owner-freebsd-questions Sat Aug 24 14: 7:59 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E092337B400 for ; Sat, 24 Aug 2002 14:07:53 -0700 (PDT) Received: from shockwave.systems.pipex.net (shockwave.systems.pipex.net [62.241.160.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CAE543E4A for ; Sat, 24 Aug 2002 14:07:53 -0700 (PDT) (envelope-from stacey@Demon.vickiandstacey.com) Received: from Demon (81-86-129-77.dsl.pipex.com [81.86.129.77]) by shockwave.systems.pipex.net (Postfix) with ESMTP id DDE9116000CCE for ; Sat, 24 Aug 2002 22:07:49 +0100 (BST) Subject: How do I include mod_auth_db with already existing / working apache? [WAS: mod_auth_db dir protection and apache] From: Stacey Roberts Reply-To: sroberts@dsl.pipex.com To: FreeBSD Questions Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-SBwOPciUaPIbi7oQEeej" X-Mailer: Ximian Evolution 1.0.8 Date: 24 Aug 2002 22:07:54 +0100 Message-Id: <1030223276.379.52.camel@Demon.vickiandstacey.com> Mime-Version: 1.0 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 --=-SBwOPciUaPIbi7oQEeej Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, Further to my earlier question, I figure I might as well check on this. I ran the cmd below to determine whether or not I have mod_auth_db set up in apache: $ grep mod_auth_db httpd.conf LoadModule db_auth_module libexec/apache/mod_auth_db.so AddModule mod_auth_db.c $ So I figured that it appears to be there & was further convinced when dbmmanage [file] adduser [username] worked first time. Am I wrong in presuming that I *do* indeed have mod_auth_db compiled in my apache? Let me know if there's any further info I could provide, please. Stacey --- Hello, I'm trying to protect a dir using the mod_auth_db authentication method with the latest apache-1.3. The actual dir contains the data logs from webalizer ( that's got its own index.html file). Here's what I've done (from http://httpd.apache.org/docs/howto/auth.html#authdbconfig): Created the user file and test user Created the .htaccess file and placed it in the dir under the DocumentRoot dir However, I find that I can simply type the full path to the "protected dir's index.html file, and it still loads without prompting me for a password. From the above apache doc page, I couldn't have thought that this could be any easier, but have I missed something here? Where have I gone wrong over the few lines of instructions? Someone please help me. Thanks Stacey --=20 Stacey Roberts B.Sc (HONS) Computer Science --=-SBwOPciUaPIbi7oQEeej Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQEVAwUAPWf1qJvQeubckvvXAQGIuAf+LY+Fms1L/O4pyYS1f1j605ZzaVMVPAQa oY0EmLRIM4RTtFQyDK8wSPUGWBcqxOuaM+iAeN+cJKuBgxZlTFA0cgCV4Nuqtx6p vXS2FnNZw6IJMdGZ37VqxVvWW/w68P6EdlFOTa0ZGbhvSIf74ejltVzfEjEGGTZG dEYGq40DxkbsLNqalkjZ/5J8ECiGdETzyxEwfTWAmGIIqI7AZQoF/ZFnKX1+WCae Uuim6lCo7OLhDtq9Id32YwPbgCBN6WMA4EVb8D68xJJklYbUjx8wFpWVllCfZhr1 F/eVx9/ZqiwLnUeQFPzEr3VqOEkHdS8Op5WWa8cGRH5WgKDa5OMB6Q== =p4Ff -----END PGP SIGNATURE----- --=-SBwOPciUaPIbi7oQEeej-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message