Script Not Generating .htpasswd

Discussion in 'Setting-up protection' started by Guest_alan, Jan 2, 2004.

  1. Guest_alan

    Guest_alan Guest

    I've just installed the product and set up as per "protection example" in the documentation. I've set the product url => /members/members_pro/ with the .htaccess in the directory i.e.:

    AuthType Basic
    AuthName "Pro Members Login"
    AuthUserFile /www/htdocs/members/members_pro/.htpasswd
    AuthGroupFile /www/htdocs/members/members_pro/.htgroup
    Require group PRODUCT_1 PRODUCT_2

    However, the .htpasswd and .htgroup are not generated when I add a new member manually via Admin Menu and when I go to access the protected area via the member screen, the Browser Login Dialog pops up.

    Any help would be greatly appreciated
  2. alex-adm

    alex-adm Guest

    How do you check that files are not generated?
    Files, which names starts with dot, usually becomes hidden when you browse it via FTP connection. Use webhosting control panel file manager to be sure.
  3. Guest_alan

    Guest_alan Guest

    I used ls -l via telnet and they are not there. I can see .htaccess but not the password or group files.
  4. alex-adm

    alex-adm Guest

    it is very strange, if you could send us (support@cgi-central.net)
    aMember CP (admin login details)
    and, if possible
    FTP login details
    we would help to solve this.
  5. alex-adm

    alex-adm Guest

    thank you for ftp info.

    Files generated succesfully in amember/data/ folder !!!
    Example of valid .htaccess can be found in amember cp -> info and some urls

    I just fixed your .htaccess file in members_pro folder.
  6. bengji

    bengji Guest

    same here the script didnt genrate the .htpasswd and .htgroup, i checked the folders Data with telnet, shell, and i tried file manger, in data folde i only saw .htaccses and nothing ells, so pls anybody could help me to corect this problem thanx
  7. alex-adm

    alex-adm Guest

    Try to update some member profile from aMember control panel. Do you see any error messages?

Share This Page