>>> On 7/14/2008 at 4:37 AM, in message
<[EMAIL PROTECTED] 
, <[EMAIL PROTECTED]> wrote:

> 
> 
> 
> I notice that the web package deploys files under /var/www/html/ganglia
> 
> Would it be feasible to have a more elaborate structure by default, for
> security and felixibility:
> 
> - config.php in /etc/ganglia
> 
> - library files (PHP files that are only included from other files)
> under /usr/lib/ganglia/web 
> 
> - Other PHP, HTML and templates under:
>       /usr/share/ganglia/web
>       /usr/share/ganglia/template
> 
> - add new variables to config.php:
> 
> $libdir = "/usr/lib/ganglia/web";
> $tmpldir = "/usr/lib/ganglia/template";
> 
> - add /etc/httpd/conf.d/ganglia.conf to the RPM, with some variation of
> the following content:
> 
> Alias /ganglia /usr/share/ganglia/web
> <Directory "/usr/share/ganglia/web">
>   Order allow,deny
>   Allow from all
>   Options -Indexes
> </Directory>
> 

I'll let the PHP people comment on the rest of it, but adding a ganglia.conf 
file for Apache configuration sounds like a good idea.

Brad


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to