[smokeping-users] SmokePing Displaying source code in browser.
kim.f at aware.co.th
Tue Feb 2 19:38:56 CET 2010
I installed smokeping using ports on FreeBSD.
SmokePing is displaying source code in browser. Below is a snippet:
use lib qw(/usr/local/smokeping/lib);
use CGI::Carp qw(fatalsToBrowser);
use Smokeping 2.004002;
I've checked and speedy is locate in /usr/local/bin/speedy.
I've added the following in my httpd.conf
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/
Allow from all
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the smokeping-users