From owner-freebsd-questions@FreeBSD.ORG Sun Apr 18 21:21:14 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 5A39016A4CE for ; Sun, 18 Apr 2004 21:21:14 -0700 (PDT) Received: from wingfoot.org (caduceus.wingfoot.org [64.32.179.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02A6343D39 for ; Sun, 18 Apr 2004 21:21:14 -0700 (PDT) (envelope-from ges@wingfoot.org) Received: from localhost (localhost.wingfoot.org [127.0.0.1]) by wingfoot.org (Postfix) with ESMTP id 594291F44AF; Mon, 19 Apr 2004 00:21:13 -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 34163-04; Mon, 19 Apr 2004 00:21:12 -0400 (EDT) Received: from wingfoot.org (ool-44c47f78.dyn.optonline.net [68.196.127.120]) by wingfoot.org (Postfix) with ESMTP id 0EF021F44B0; Mon, 19 Apr 2004 00:21:04 -0400 (EDT) Message-ID: <408353A1.8010105@wingfoot.org> Date: Mon, 19 Apr 2004 00:20:49 -0400 From: Glenn Sieb User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Noah , freebsd-questions@freebsd.org References: <20040418231354.M545@enabled.com> <40830EC8.2070608@wingfoot.org> <20040419010449.M37374@enabled.com> <40835069.3090108@wingfoot.org> <20040419041439.M56886@enabled.com> In-Reply-To: <20040419041439.M56886@enabled.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at wingfoot.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 04:21:14 -0000 Noah said the following on 4/19/2004 12:18 AM: >thanks for your response but there are two files that I am using .htaccess and >.htpasswd . Might you be getting the .htaccess and .htpasswd file permissions >mixed up? > > Not at all. Both need to be world readable, or at least readable by the user running apache. >there is still no cure at this point since i check the file permissions and >both .htaccess and .htpasswd are both world readable. I even moved the >.htpasswd to the same subdirectory with world readable permissions and still >there is no password prompt from my browser. I go directly to the directory >index of /usr/home//public_html// > >here are the permissions of the files: > >-rw-r--r-- 1 101 Apr 18 16:09 >/usr/home//public_html//.htaccess > >and > >-rw-r--r-- 1 21 Apr 18 16:09 >/usr/home//public_html//.htpasswd > >any other ideas? > > So when you go to http://yourserver/~yourusername/subdir it doesn't prompt you for anything? Check it against this: AuthType Basic AuthUserFile htpasswd.file.location.and.name.here AuthName "Something to make sense" require valid-user Best, Glenn