This isn't really a SmokePing specific issue;  it's a webserver-level thing.

That said, I don't see a "Require" directive anywhere in your config. Try adding "Require valid-user" to your <Directory ...> block.

- Pete



On 12-03-21 02:20 PM, Murray Davis wrote:
I am trying to set up user-based access to smokeping on a system with the following characteristics:

2.6.32-39-generic Linux Ubuntu 10.04.1 LTS \n \l
apache2  2.2.14-5ubuntu8
smokeping  2.3.6-5

I have modified /etc/apache2/conf.d/smokeping as folllows...and restarted apache and smokeping.

ScriptAlias /smokeping/smokeping.cgi /usr/share/smokeping/cgi-bin/smokeping.cgi
Alias /smokeping /usr/share/smokeping/www

<Directory "/usr/share/smokeping/www">
    Options FollowSymLinks
    AllowOverride AuthConfig
    AuthType Basic
    AuthName "Password Required"
    AuthUserFile /etc/passwd
</Directory>

However, when I go to http://servername/smokeping, I am taken directly to the smokeping home page.

I then added an .htaccess file to:

/usr/share/smokeping/cgi-bin...the location of smokeping.cgi.

/usr/share/smokeping/www, the Alias referenced in /etc/apache2/conf.d/smokeping.

The .htaccess file contains:

AuthType Basic
AuthName "Password Required"
AuthUserFile /etc/passwd

Even with these .htaccess files, I still am not prompted for a username and password. I would like to specify a specific local user, but any local username would be sufficient.

What do I need to do to get this working?




_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Reply via email to