file .htaccess

Hi,

I have a Fedora 7 with a Web server httpd-2.2.6-1 and i have some problem
with file .htaccess, infact system don't ask me authentication and show me
html pages.

This is the configuration of httpd.conf about htaccess:
....
AllowOverride All
....
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>

And this is file .htaccess:

AuthName "Accesso riservata"
AuthUserFile /path/to/directory/.htpasswd
AuthType Basic
AuthGroupFile /dev/null
Require valid-user
<Files ~ ".*\.htm$">
Require user xxxxxxx
</Files>


What is incorrect?

Thank's

Andrea
Andrea [ Mi, 31 Oktober 2007 11:16 ] [ ID #1858650 ]
Webserver » alt.apache.configuration » file .htaccess

Vorheriges Thema: How to process http://MYURL/tag/foo
Nächstes Thema: question on apache upgrade