web protection

Mad Unix madunix at gmail.com
Mon May 30 03:28:49 PDT 2005


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


More information about the freebsd-questions mailing list