On 2.2.3 require user .htaccess not working

Discussion in 'Install/Configuration' started by sth, Oct 18, 2006.

  1. sth

    sth New Member

    After the update to 2.2.3 release when enabled htaccess in one dir, browser fails to authenticate user and continue to prompt for password.

    If I use a member of the "required group" the system accept the login

    This is my .htaccess file:
    AuthUserFile /etc/httpusers/.users
    AuthGroupFile /etc/httpusers/.groups
    AuthName "Statistiche sito"
    AuthType Basic

    <limit GET>
    require user john
    require group sth
    </limit>

    ---

    If I use john (that isn't a member of sth group), browser fails to authenticate user and continue to prompt for password, but if I use mery, that is a member of sth group, I have access to the directory.

    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.


    ---

    Thanks
    Alessandro
  2. mistwang

    mistwang LiteSpeed Staff

    Only the last require directive is effective I think.

Share This Page