[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

.htaccess file



Hi,
I have created a .htaccess file and an associated passwd file:
---------------------------cut here-------------------------------
$ cd /home/clinton/public_html/loser
$ cat > .htaccess
AuthName Rese Pisan Euy 
AuthType Basic
AuthGroupFile /dev/null
AuthUserFile /home/clinton/public_html/loser/.htpasswd
<Limit GET POST PUT>
require valid-user
</Limit>
^D 
$ htpasswd -c .htpasswd clinton
---------------------------cut here--------------------------------

but when i try to access the directory, e.g.:
http://www.losers.org/~clinton/loser

I still can read the index.html, no passwd authentication...why is that?
I have restarted the server and nothings happen.

Here's a quote from my httpd.conf:

--------------------------------
AccessFileName .htaccess
<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>
--------------------------------

Thanks in advance,

Usef


Reply to: