teketeke_55の日記

技術メモとか

WEBUIでapacheのbalancer設定

[apache]

WEBUIでapacheのバランサーの設定をするには以下のURLでアクセスする。

  • http://[proxy server]/balancer-manager

事前にapache側で以下の設定をしておく。

<IfModule mod_proxy.c>
ProxyRequests Off
ProxyPass /balancer-manager !
<Location /balancer-manager>
SetHandler balancer-manager
Order deny,allow
Allow from xxxx
Deny from all
</Location>

サブディレクトリをプロキシしたくないので ! を付けている


参照:http://httpd.apache.org/docs/2.1/ja/mod/mod_proxy.html#proxypass


ここで修正した内容はhttp.confには反映されず、
メモリ上に乗っかるだけなので再起動するともとに戻ってしまうので注意