Hi,

I installed smokeping using ports on FreeBSD.

SmokePing is displaying source code in browser.  Below is a snippet:

#!/usr/local/bin/speedy -w
# -*-perl-*-

use strict;
use warnings;

use lib qw(/usr/local/smokeping/lib);

use CGI::Carp qw(fatalsToBrowser);

use Smokeping 2.004002;

Smokeping::cgi("/usr/local/etc/smokeping/config");

I've checked and speedy is locate in /usr/local/bin/speedy.

I've added the following in my httpd.conf

Under IfModule

    ScriptAlias /smokeping.cgi "/usr/local/smokeping/htdocs/smokeping.cgi"
    ScriptAlias /tr.cgi "/usr/local/smokeping/htdocs/tr.cgi"

Under IfModule dir_module

    DirectoryIndex index.html index.php smokeping.cgi

And the following at the bottom

Alias /smokeping/ /usr/local/smokeping/htdocs/
<Directory "/usr/local/smokeping/htdocs">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>

I'm near sure I've got all of the dependencies as I've installed from ports 
(though I could be wrong), and I'm thinking this is just a *dumb* configuration 
error on my part.

Thanks in advance for any light you can shed.

Regards,

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

Reply via email to