From owner-freebsd-questions@FreeBSD.ORG Mon Apr 19 06:34:32 2004 Return-Path: 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 8713616A4CE for ; Mon, 19 Apr 2004 06:34:32 -0700 (PDT) Received: from wingfoot.org (caduceus.wingfoot.org [64.32.179.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4502A43D55 for ; Mon, 19 Apr 2004 06:34:32 -0700 (PDT) (envelope-from ges@wingfoot.org) Received: from localhost (localhost.wingfoot.org [127.0.0.1]) by wingfoot.org (Postfix) with ESMTP id 8A9B31F446D; Mon, 19 Apr 2004 09:34:31 -0400 (EDT) Received: from wingfoot.org ([127.0.0.1]) by localhost (caduceus.wingfoot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13561-08; Mon, 19 Apr 2004 09:34:30 -0400 (EDT) Received: from wingfoot.org (ool-44c47f78.dyn.optonline.net [68.196.127.120]) by wingfoot.org (Postfix) with ESMTP id B68421F446C; Mon, 19 Apr 2004 09:34:30 -0400 (EDT) Message-ID: <4083D557.2040703@wingfoot.org> Date: Mon, 19 Apr 2004 09:34:15 -0400 From: Glenn Sieb User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Noah References: <20040418231354.M545@enabled.com> <40830EC8.2070608@wingfoot.org> <20040419010449.M37374@enabled.com> <40835069.3090108@wingfoot.org> <20040419041439.M56886@enabled.com> <408353A1.8010105@wingfoot.org> <20040419042907.M2237@enabled.com> In-Reply-To: <20040419042907.M2237@enabled.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at wingfoot.org cc: freebsd-questions@freebsd.org Subject: Re: .htaccess in subdir of /usr/home//public_html X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 13:34:32 -0000 Noah said the following on 4/19/2004 12:39 AM: >>AuthType Basic >>AuthUserFile htpasswd.file.location.and.name.here >>AuthName "Something to make sense" >>require valid-user >> >> > > >thanks glen - looks like this is still not working. No password Prompt > >here is what I did: > >cat of /usr/home//public_html//.htaccess > >--- snip --- > >AuthType Basic >AuthUserFile /usr/home//public_html//.htpasswd >AuthName "Protected Area" >require user glob > > Ok.. first off: Is there a user named "glob" in that .htpasswd file? Secondly, can you check that you have the module mod_userdir.c loading? In my install from ports of Apache, my userdir directives look like this: (Up top with the rest of the modules:) LoadModule userdir_module /usr/local/libexec/apache/mod_userdir.so AddModule mod_userdir.c (Then down in the host/virtualhost directives:) UserDir public_html AllowOverride FileInfo AuthConfig Limit Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec Order allow,deny Allow from all Order deny,allow Deny from all Best, Glenn