From owner-freebsd-questions@FreeBSD.ORG Sun Apr 18 21:39:35 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 5CBFC16A4CE for ; Sun, 18 Apr 2004 21:39:35 -0700 (PDT) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1292E43D55 for ; Sun, 18 Apr 2004 21:39:35 -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 i3J4dV1l040283 for ; Sun, 18 Apr 2004 21:39:31 -0700 (PDT) (envelope-from admin2@enabled.com) From: "Noah" To: freebsd-questions@freebsd.org Date: Sun, 18 Apr 2004 20:39:31 -0800 Message-Id: <20040419042907.M2237@enabled.com> In-Reply-To: <408353A1.8010105@wingfoot.org> 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> 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: Mon, 19 Apr 2004 04:39:35 -0000 > >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 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 --- snip --- now cat of /usr/home//public_html//.htpasswd --- snip --- glob:uKRB.ktQoL./I --- snip --- and now the file permissions --- snip --- ls -al .ht* -rw-r--r-- 1 124 Apr 18 21:33 .htaccess -rw-r--r-- 1 19 Apr 18 21:34 .htpasswd --- snip --- Please somebody hand me a clue stick? from the /usr/local/etc/apache/httpd.conf --- snip --- AccessFileName .htaccess # # The following lines prevent .htaccess files from being viewed by # Web clients. Since .htaccess files often contain authorization # information, access is disallowed for security reasons. Comment # these lines out if you want Web visitors to see the contents of # .htaccess files. If you change the AccessFileName directive above, # be sure to make the corresponding changes here. # # Also, folks tend to use names such as .htpasswd for password # files, so this will protect those as well. # Order allow,deny Deny from all Satisfy All --- snip --- - Noah > > Best, > Glenn > > _______________________________________________ > 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"