HowTo change /srv/www/webxx/.htpasswd

Discussion in 'Installation/Configuration' started by klaus++, Sep 8, 2010.

  1. klaus++

    klaus++ New Member HowtoForge Supporter

    When I try to access webalizer stats for a site I get a 401 "not authorized" error when I enter the site administrator's ID and passwort.

    Apparently /srv/www/webxx/.htpasswd is not modified when I change the siteadmin or his password using ISPConfig.

    Is this due to an ISPconfig error, do I have to wait until some cron has done the job or is it possible to have .htpasswd updated each time I change the siteadmin or his passwort using another method?

    Thank you for you help.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The password gets updated nightly when the stats get generated.
     
  3. klaus++

    klaus++ New Member HowtoForge Supporter

    If I wanted to access the stats immediately after a password change I could generate a password hash (MD5 ?) and insert it into .htpasswd It would be replaced by an identical value when the stats get generated. Is this so ?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Thst not a md5 hash. But you can change passwords in .htaccess file from the commandline with the "htpasswd" program.
     

Share This Page