From owner-freebsd-questions@FreeBSD.ORG Thu Apr 22 20:30:10 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 1527416A4CF for ; Thu, 22 Apr 2004 20:30:10 -0700 (PDT) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE19043D1D for ; Thu, 22 Apr 2004 20:30:09 -0700 (PDT) (envelope-from admin2@enabled.com) Received: from enabled.com (localhost.enabled.com [127.0.0.1]) by typhoon.enabled.com (8.12.11/8.12.11) with ESMTP id i3N3U7FV004887 for ; Thu, 22 Apr 2004 20:30:07 -0700 (PDT) (envelope-from admin2@enabled.com) From: "Noah" To: FreeBSD Questions Date: Thu, 22 Apr 2004 19:30:07 -0800 Message-Id: <20040423032230.M55192@enabled.com> In-Reply-To: <20040420104051.GB303@lb.tenfour> 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> <4083D557.2040703@wingfoot.org> <20040420104051.GB303@lb.tenfour> X-Mailer: Open WebMail 2.30 20040103 X-OriginatingIP: 64.121.33.4 (admin2) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 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: Fri, 23 Apr 2004 03:30:10 -0000 On Tue, 20 Apr 2004 11:40:51 +0100, Dick Davies wrote > * Glenn Sieb [0434 14:34]: > > 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 > > Maybe the browser is caching the credentials? What do the lines in > access.log/error log look like? Hi, really good questions. I even exitted all the browsers and restarted to make sure the credentials were not saved. there are no errors ending up in the error or access log files. > > >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 > > That syntax is fine. > How did you create '/usr/home//public_html//.htpasswd'? /usr/local/bin/htpasswd > > > 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? > > The directory is being served so UserDir is obviously working. > yes it appears that way. I can see its contents. > The permissions of the files were not the same in both of Noahs > posts. yup I changed to the following: from the directory /home/noah/public_html/ -rw-r--r-- 1 126 Apr 20 09:37 .htaccess -rw-r--r-- 1 19 Apr 18 21:34 .htpasswd > > What user and group does apache run as? user: www group: www > Give us an ls -l of both .htaccess and .htpasswd again, please. look above please. cheers, Noah > > -- > The advertisement is the most truthful part of a newspaper > -- Thomas Jefferson > Rasputin :: Jack of All Trades - Master of Nuns > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"