Re: [CentOS] smokeping on CentOS questions

2008-02-27 Thread John R Pierce


I rm'd the sym link and put that (exactly) along with 


order deny, allow
deny from all
allow from all

I still cannot get in.  Is this an Apache issue? (I suppose that I 
don't understand how these directory definitions work very well)


yes, it is an apache issue.

try adding this (inside the  block, after the other stuff)

   
   Order allow,deny
   Allow from all
   


now, if you get a list of the files in the folder, you need to determine 
what the default document is supposed to be (probably something like 
index.php ?) and add a


   DirectoryIndex index.php

to the  block...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] smokeping on CentOS questions

2008-02-27 Thread Garrick Staples
On Wed, Feb 27, 2008 at 09:54:22PM -0800, John R Pierce alleged:
> /etc/httpd/conf.d/smokering.conf:
>Alias   /smokering/ /usr/local/smokering/htdocs/
>
>AllowOverride All
>Options MultiViews All
>

Don't you need to get rid of the trailing slashes in the Alias?  That requires
the URL to also have a trailing slash for the alias to work.

-- 
Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


pgpx6nNUGJOEE.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] smokeping on CentOS questions

2008-02-27 Thread Rogelio
On Wed, Feb 27, 2008 at 9:54 PM, John R Pierce <[EMAIL PROTECTED]> wrote:

> > When I go to "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/
>
>AllowOverride All
>Options MultiViews All
>
>
>
> (adjusting the privileges as needed inside that  block...)


I rm'd the sym link and put that (exactly) along with

order deny, allow
deny from all
allow from all

I still cannot get in.  Is this an Apache issue? (I suppose that I don't
understand how these directory definitions work very well)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] smokeping on CentOS questions

2008-02-27 Thread John R Pierce

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 
", 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/
   
   AllowOverride All
   Options MultiViews All
   


(adjusting the privileges as needed inside that  block...)

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


Re: [CentOS] smokeping on CentOS questions

2008-02-27 Thread Barry Brimer

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", all I get is a list of files, not
the webpage I would expect to get.

What might I be doing wrong?


If you are getting a list of files, I have to wonder if you have a 
DirectoryIndex set .. and if so .. what the filenames are in 
DirectoryIndex.


Barry
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] smokeping on CentOS questions

2008-02-27 Thread Rogelio
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", all I get is a list of files, not
the webpage I would expect to get.

What might I be doing wrong?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos