From owner-freebsd-questions@FreeBSD.ORG Mon May 30 11:57:44 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 E296916A41C for ; Mon, 30 May 2005 11:57:44 +0000 (GMT) (envelope-from albi@scii.nl) Received: from post-22.mail.nl.demon.net (post-22.mail.nl.demon.net [194.159.73.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C44343D4C for ; Mon, 30 May 2005 11:57:44 +0000 (GMT) (envelope-from albi@scii.nl) Received: from aseed.demon.nl ([83.160.138.119]:10596 helo=localhost.localdomain) by post-22.mail.nl.demon.net with smtp (Exim 4.43) id 1Dcitr-0003zI-4E; Mon, 30 May 2005 11:57:43 +0000 Date: Mon, 30 May 2005 13:57:42 +0200 From: albi To: Mad Unix Message-Id: <20050530135742.1bb8e672.albi@scii.nl> In-Reply-To: <4d3f56c90505300328744009ea@mail.gmail.com> References: <4d3f56c90505300328744009ea@mail.gmail.com> X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: web protection X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2005 11:57:45 -0000 On Mon, 30 May 2005 14:28:47 +0400 Mad Unix wrote: > I used this link http://faq.web2010.com/htaccess.htm > but still cant see the effect of protection --- cut --- > I created the .htpasswd via > htpasswd -c .htpasswd proxy > and vi.htaccess is > AuthUserFile /var/www/html/squid-reports/.htpasswd it's recommended to place the passwd-file outside the www-tree > AuthGroupFile /dev/null/ > AuthName proxy > AuthType Basic > Require valid-user user proxy does exist ? did you load the auth-module in apache ? the following might be useful : http://httpd.apache.org/docs/howto/auth.html http://httpd.apache.org/docs-2.0/howto/auth.html