Apache2 stats basic auth


I’m already setup the apache2 stats for my server. But i want to add basic auth with htpasswd. Which line i add the credential at file apache-stats.py ?

thank’s and best regards.


As for our documentation, /server-status is only allowed from localhost.

Why do you want to also add basic auth?

EDIT: Ok, our documentation doesnt sais anything about the restriction, sorry. What you need is to enable mod_status and require host localhost in the /server-status location.