From owner-freebsd-questions Sat Apr 1 15:20: 3 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hydrant.intranova.net (hydrant.ncw.qc.ca [209.201.95.10]) by hub.freebsd.org (Postfix) with SMTP id 5754537BAD0 for ; Sat, 1 Apr 2000 15:19:45 -0800 (PST) (envelope-from oogali@intranova.net) Received: (qmail 20077 invoked from network); 1 Apr 2000 23:23:18 -0000 Received: from localhost.abuselabs.com (HELO localhost) (missnglnk@127.0.0.1) by localhost.abuselabs.com with SMTP; 1 Apr 2000 23:23:18 -0000 Date: Sat, 1 Apr 2000 18:23:18 -0500 (EST) From: Omachonu Ogali To: Sarton O'Brien Cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: Apache Basic Authentication In-Reply-To: <38E59B78.89E7BE31@patho.gen.nz> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG One, this isn't a FreeBSD-specific question so it needs not be on this list, two, your .htaccess should look like this: -- snip -- order allow,deny allow from all require valid-user AuthType Basic AuthUserFile /usr/home/roguetr/public_html/etc/htpasswd.users AuthName "Sammy.quicksilver.net.nz" -- snip -- On Sat, 1 Apr 2000, Sarton O'Brien wrote: > Howdy, > > This probably isn't the place to ask this, I apologise if so. > > I am trying to enable Basic Authentication on a directory. > The .htaccess file reads: > > AuthType Basic > AuthUserFile /usr/home/roguetr/public_html/etc/htpasswd.users > AuthName "Sammy.quicksilver.net.nz" > require valid-user > > The htpasswd.users file was created using htpasswd. > > These files are replicas (except for the specified file locations) of a > setup that works. In these circumstances however, nothing seems to > happen. > > Apache is 1.3.11 with php4 compiled in. I have seen at least 3 types of > auth mod in the conf file. Everything else seems to work fine so I'm > assuming it has something to do with the way I'm trying to enable it > rather than a problem with the server. > > Could any replies please be CCed to this address. Thanks for any help. > This mailing list is a life saver. > > Sarton O'Brien > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- +-------------------------------------------------------------------------+ | Omachonu Ogali oogali@intranova.net | | Intranova Networking Group http://tribune.intranova.net | | PGP Key ID: 0xBFE60839 | | PGP Fingerprint: C8 51 14 FD 2A 87 53 D1 E3 AA 12 12 01 93 BD 34 | +-------------------------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message