<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
This isn't really a SmokePing specific issue; it's a
webserver-level thing.<br>
<br>
That said, I don't see a "Require" directive anywhere in your
config. Try adding "Require valid-user" to your <Directory
...> block. <br>
<br>
- Pete<br>
<br>
<br>
<br>
On 12-03-21 02:20 PM, Murray Davis wrote:
<blockquote
cite="mid:CAK3x9Gkh5Ezt6668J6ecC3MxiHURM_u=drugR4h9GACLioET2g@mail.gmail.com"
type="cite">I am trying to set up user-based access to smokeping
on a system with the following characteristics:
<div><br>
</div>
<div>2.6.32-39-generic Linux Ubuntu 10.04.1 LTS \n \l</div>
<div>apache2 2.2.14-5ubuntu8</div>
<div>smokeping 2.3.6-5</div>
<div><br>
</div>
<div>I have modified /etc/apache2/conf.d/smokeping as
folllows...and restarted apache and smokeping.</div>
<div><br>
</div>
<div>
<div>ScriptAlias /smokeping/smokeping.cgi
/usr/share/smokeping/cgi-bin/smokeping.cgi</div>
<div>Alias /smokeping /usr/share/smokeping/www</div>
<div><br>
</div>
<div><Directory "/usr/share/smokeping/www"></div>
<div> Options FollowSymLinks</div>
<div> AllowOverride AuthConfig</div>
<div> AuthType Basic</div>
<div> AuthName "Password Required"</div>
<div> AuthUserFile /etc/passwd</div>
<div></Directory></div>
</div>
<div><br>
</div>
<div>However, when I go to <a moz-do-not-send="true"
href="http://servername/smokeping">http://servername/smokeping</a>,
I am taken directly to the smokeping home page.</div>
<div><br>
</div>
<div>I then added an .htaccess file to:</div>
<div><br>
</div>
<div>/usr/share/smokeping/cgi-bin...the location of smokeping.cgi.</div>
<div><br>
</div>
<div>/usr/share/smokeping/www, the Alias referenced
in /etc/apache2/conf.d/smokeping.</div>
<div><br>
</div>
<div>The .htaccess file contains:</div>
<div><br>
</div>
<div>
<div>AuthType Basic</div>
<div>AuthName "Password Required"</div>
<div>AuthUserFile /etc/passwd</div>
</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>What do I need to do to get this working?</div>
<div><br>
</div>
<div><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
smokeping-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a>
<a class="moz-txt-link-freetext" href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a>
</pre>
</blockquote>
<br>
</body>
</html>