Hi Bernard,

I suppose you are trying the URL:
http://oscar_server/ganglia

What works without problems is
http://oscar_server/ganglia/

In fact the two can be made equivalent by just changing the Alias line to:

Alias /ganglia /var/www/html/ganglia/

Could _you_ please make the change (with the Alias), I'm not sure about what
edit_ganglia_conf should be right now.

Regards,
Erich


On Tuesday 13 June 2006 05:22, Bernard Li wrote:
> Hi Erich:
>  
> I just did a fresh installation of SUSE Linux 10.0 and it did not work for me.
>  
> In my local repository, I reverted my changes to edit_ganglia_conf, and also 
> deleted the ganglia-web RPM from the distro/suse-10.0 directory, so this 
> should be almost the same as what it should be like before I checked in my 
> change.
>  
> When I point my browser to the Ganglia page, I get:
> 
> Object not found!
> The requested URL was not found on this server. If you entered the URL 
> manually please check your spelling and try again.
> If you think this is a server error, please contact the webmaster.
> Error 404
> 192.168.0.2
> Mon Jun 12 20:13:16 2006
> Apache/2.0.54 (Linux/SUSE) 
>  
> Apache error log gives me:
> 
> [Mon Jun 12 20:20:08 2006] [error] [client 192.168.0.2] File does not exist: 
> /srv/www/htdocs/ganglia
> [Mon Jun 12 20:20:08 2006] [error] [client 192.168.0.2] File does not exist: 
> /srv/www/htdocs/favicon.ico
> [Mon Jun 12 20:20:10 2006] [error] [client 192.168.0.2] File does not exist: 
> /srv/www/htdocs/ganglia
> [Mon Jun 12 20:20:10 2006] [error] [client 192.168.0.2] File does not exist: 
> /srv/www/htdocs/favicon.ico
>  
> This is the listing of "rpm -ql ganglia-web":
> 
> suse10-0-x86:~ # rpm -ql ganglia-web | head
> /var/www/html/ganglia
> /var/www/html/ganglia/AUTHORS
> /var/www/html/ganglia/COPYING
> /var/www/html/ganglia/ChangeLog
> /var/www/html/ganglia/Makefile.am
> /var/www/html/ganglia/auth.php
> /var/www/html/ganglia/class.TemplatePower.inc.php
> /var/www/html/ganglia/cluster_legend.html
> /var/www/html/ganglia/cluster_view.php
> /var/www/html/ganglia/conf.php
>  
> And this is /etc/apache2/conf.d/ganglia.conf:
> 
> suse10-0-x86:~ # cat /etc/apache2/conf.d/ganglia.conf 
> Alias /ganglia/ /var/www/html/ganglia/
> <Directory /var/www/html/ganglia/>
>    Options None
>    order deny,allow
>    deny from all
>    allow from all
> </Directory>
>  
> Did I miss something?
>  
> Thanks,
>  
> Bernard
> 
> ________________________________
> 
> From: Erich Focht [mailto:[EMAIL PROTECTED]
> Sent: Mon 12/06/2006 14:30
> To: Bernard Li
> Cc: [email protected]
> Subject: Re: [Oscar-checkins] r4987 - in trunk/packages/ganglia: . SRPMS 
> distro/common-rpms distro/fc5-i386 distro/suse10.0-i386
> 
> 
> 
> On Monday 12 June 2006 19:22, Bernard Li wrote:
> > Hi Erich:
> >
> > > this was not really necessary. The reason why I added the
> > > ganglia.conf httpd
> > > configuration file was to make the location of the web root
> > > irrelevant. Ganglia was working fine whether under /srv/www/htdocs or
> > > /var/www/html. Didn't you try it?
> >
> > I'm pretty sure I tested this and it didn't work with files being in
> > /var/www/html, but it's possible it's prior to having ganglia.conf - but
> > anyways I'll re-test tonight and see.
> 
> It worked for me.
> 
> What I find ugly is to enforce ganglia to live in /srv/www/htdocs, which is
> actually more an example (some docs) than a reasonable place for your web
> root.
> 
> Regards,
> Erich
> 
> 
> 



_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to