httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@six-group.com>
Subject RE: [users@httpd] read-only balancer-manager
Date Fri, 06 Nov 2009 12:35:54 GMT
> -----Original Message-----
> From: Mark Watts [mailto:m.watts@eris.qinetiq.com] 
> Sent: Wednesday, November 04, 2009 3:14 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] read-only balancer-manager
> 
> 
> Can anyone think of a way that I can present the /balancer-manager
> interface (from mod_proxy_balancer), without allowing the dynamic
> reconfiguration part to be used?

The simplest way would be to Use the Source...

A very quick fix would be to go into modules/proxy/mod_proxy_balancer.c
and hack the line where it makes the hyperlink on the balancer URL (look
for "href"). If you disable the link it will be pretty hard for someone
to get to the config form...

If you want to fo deeper, you could snip out the form as well. And then
remove its functionality..

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

PS - obviously you need to recompile the module after editing..

> 
> I'd like to offer a read-only view of the load-balancer status to some
> analysts, without allowing them to reconfigure things or disable
> back-end servers.
> 
> Cheers,
> 
> Mark.
> 
> -- 
> Mark Watts BSc RHCE MBCS
> Senior Systems Engineer, Managed Services Manpower
> www.QinetiQ.com
> QinetiQ - Delivering customer-focused solutions
> GPG Key: http://www.linux-corner.info/mwatts.gpg
> 
 
This message is for the named person's use only. It may contain confidential, proprietary
or legally privileged information. If you receive this message in error, please notify the
sender urgently and then immediately delete the message and any copies of it from your system.
Please also immediately destroy any hardcopies of the message. 
The sender's company reserves the right to monitor all e-mail communications through their
networks.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message