Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 May 2005 14:28:47 +0400
From:      Mad Unix <madunix@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   web protection
Message-ID:  <4d3f56c90505300328744009ea@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d3f56c90505300328744009ea>