From owner-freebsd-questions@FreeBSD.ORG Mon May 30 10:28:49 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 0003D16A41C for ; Mon, 30 May 2005 10:28:48 +0000 (GMT) (envelope-from madunix@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B1F843D1F for ; Mon, 30 May 2005 10:28:48 +0000 (GMT) (envelope-from madunix@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so2290634wri for ; Mon, 30 May 2005 03:28:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=dv2NfcluEpfUU3ugK/5gK/fxjLcA0prFIv04a9Q+KeFerMy6XB9kcp0ewbqBzb1Z/nxMIYJC+OVGLpznAiV6CR22Q22WnLTOCWkeXCXZeiEAp2jnCoPWWWKIRCmaTgQ6F9+eodH+b/XkXH14piiPhdn/wcrawI1MpsndQVX7B14= Received: by 10.54.47.1 with SMTP id u1mr5376542wru; Mon, 30 May 2005 03:28:47 -0700 (PDT) Received: by 10.54.11.59 with HTTP; Mon, 30 May 2005 03:28:47 -0700 (PDT) Message-ID: <4d3f56c90505300328744009ea@mail.gmail.com> Date: Mon, 30 May 2005 14:28:47 +0400 From: Mad Unix To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: web protection X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mad Unix List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2005 10:28:49 -0000 I used this link http://faq.web2010.com/htaccess.htm but still cant see the effect of protection squid# pwd /var/www/html/squid-reports squid# ls -al total 646 drwxr-xr-x 25 root wheel 1024 May 30 12:56 . drwxr-xr-x 3 root wheel 512 Jan 28 2004 .. -rw-r--r-- 1 root wheel 125 May 30 13:13 .htaccess -rw-r--r-- 1 root wheel 20 May 30 13:28 .htpasswd drwxr-xr-x 2 root wheel 24576 Oct 3 2004 2004Oct03-2004Oct03 drwxr-xr-x 2 root wheel 36864 Sep 16 2004 2004Sep15-2004Sep15 -rw-r--r-- 1 root wheel 9893 May 29 17:20 index.html I created the .htpasswd via htpasswd -c .htpasswd proxy and vi.htaccess is AuthUserFile /var/www/html/squid-reports/.htpasswd AuthGroupFile /dev/null/ AuthName proxy AuthType Basic Require valid-user Any am doing wrong!! Thanks