htaccess problem

Discussion in 'Installation/Configuration' started by 4integration, Jan 3, 2007.

  1. 4integration

    4integration New Member

    Hi,

    i have setup munin according to the guide at http://www.howtoforge.com/server_monitoring_monit_munin , that works just fine but the password protection doesn't work.

    I have setup the .htaccess and .htpasswd exactly as described and it works fine BUT after some time it stops working !?!?!? How can this happen?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Does the passwords stop working after about 4 AM when the webslizer statistics are created?
     
  3. 4integration

    4integration New Member

    Yes, that seems correct (have not been testing at 4 AM though :) ) but it stops working during the night.

    Do you have a solution/suggestion?
     
    Last edited: Jan 3, 2007
  4. 4integration

    4integration New Member

    I can now confirm that webalizer for some reason (??) changes the password in the .htpasswd.

    This have been solved by moving the file higher in the directory structure (/var/www instead of /var/www/web1)
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    The reson is really simple, ISPConfig uses the file /var/www/web1/.htpasswd itself for protecting the webalizer stats directory. The only solution is to move the file to another directory as you did or you rename the file to e.g. /var/www/web1/.htpasswd2 and change the name in your .htaccess file too.
     

Share This Page