[CentOS] smokeping on CentOS questions
John R Pierce
pierce at hogranch.com
Thu Feb 28 05:54:22 UTC 2008
Rogelio wrote:
> I'm having some problems getting CentOS to serve up my Smokeping pages
> (http://oss.oetiker.ch/smokeping/)
>
> However, I'm having problems getting the pages to serve up correctly.
>
> Here is a quick run down of what I've done.
>
> (1) wget and untar to /usr/local/smokeping
> (2) chown -R root:root /usr/local/smokeping
> (3) modifying to the following files to reflect my environment
>
> (not sure if all my steps here were good)
>
> /usr/local/smokeping/bin/smokeping
> /usr/local/smokepoing/htdocs/smokeping.cfg
>
> (4) ln -s /usr/local/smokeping/htdocs /var/www/html/smokeping
>
> When I go to "www.mybox.com/smokeping
> <http://www.mybox.com/smokeping>", all I get is a list of files, not
> the webpage I would expect to get.
>
> What might I be doing wrong?
apache isn't real fond of symbolic links unless you add Directory
primitives for the real directory. actually, I'd blow off the symlink
entirely, and instead use something like...
/etc/httpd/conf.d/smokering.conf:
Alias /smokering/ /usr/local/smokering/htdocs/
<Directory /usr/local/smokering/htdocs>
AllowOverride All
Options MultiViews All
</Directory>
(adjusting the privileges as needed inside that <Directory> block...)
More information about the CentOS
mailing list