when enabled htaccess in one dir, browser fails to authenticate and continue to prompt for password.
I use a VHtemplates
For every site I have a "stats" directory with a specific .htaccess where is specified the required user and a required group in order to view the dir content.
If I use realm and context the user is autenticated but the problem is that I can specified "one user" for "one site" and with VHtemplates if I enable realm and context all the user in my password file are authenticated in every site.
This is my .htaccess file:
AuthUserFile /etc/httpusers/.users
AuthGroupFile /etc/httpusers/.groups
AuthName "Statistiche sito"
AuthType Basic
<limit GET>
require user sth
require group sth
</limit>
---
Thanks
Alessandro
I use a VHtemplates
For every site I have a "stats" directory with a specific .htaccess where is specified the required user and a required group in order to view the dir content.
If I use realm and context the user is autenticated but the problem is that I can specified "one user" for "one site" and with VHtemplates if I enable realm and context all the user in my password file are authenticated in every site.
This is my .htaccess file:
AuthUserFile /etc/httpusers/.users
AuthGroupFile /etc/httpusers/.groups
AuthName "Statistiche sito"
AuthType Basic
<limit GET>
require user sth
require group sth
</limit>
---
Thanks
Alessandro