Re: smokeping on CentOS questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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...)

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux