.htpasswd

Discussion in 'Installation' started by seashell, Sep 22, 2003.

  1. seashell

    seashell Guest

    Hi,

    After installing, I saw this message in my error log:

    Cannot open /home/****/public_html/amember/data/.htpasswd for write. Make directory /home/****/public_html/amember/data and this file writeable for PHP scripts.

    I changed my data folder to 777, and tried using my cpanel file manager to see the .htpasswd file. The .htpasswd file is not visible. I can see the .htaccess file.

    1. How can I view my .htpasswd file so that I can change the permissions?
    2. What should those permissions be?

    Thank You!
  2. seashell

    seashell Guest

    Now this is wierd! Today, I am able to see the files in the data folder, using my cpanel file manager. The problem is, the permissions for the .htpasswd file are set at 644, and my file manager won't let me change them. They stay 644 even when I change the permissions.

    1. What should the permission be on the .htpasswd file?

    2. What is stopping me from changing it?

    Thanks!
  3. alex-adm

    alex-adm Guest

    1. Keep it as is.

    2. You cannot change this file, because it is created by another Unix user, as PHP is usually started from another user.
    It is not specific for aMember - any file created from PHP script will have the same permissions.

Share This Page