title: httpd.conf: BalancerMember can not have a balancer name when defined in a location
body: <p>Hi there I am trying to implement a simple load balancing experiment:
  Changing between the 3 load balancer scheduler algorithms available for use: Request Counting, Weighted Traffic Counting and Pending Request Counting.</p>
  
  <p>Reference: <a href="http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html" rel="nofollow">http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html</a>
  I configured my conf file in apache server as such:</p>
  
  <p>code:</p>
  
  <pre><code>&lt;IfModule ssl_module&gt;
  SSLRandomSeed startup builtin
  SSLRandomSeed connect builtin
  &lt;/IfModule&gt;
  LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
   LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
  
    LoadModule    jk_module  modules/mod_jk.so
   JkWorkersFile conf/workers.properties
     JkShmFile     logs/mod_jk.shm
    JkLogFile     logs/mod_jk.log
   JkLogLevel    info
     JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
    #JkMount  /examples/jsp/dates* balancer
   JkMount /Prototype* balancer
  </code></pre>
  
  <p># This proxy tag is for Pending Request Counting Algorithm
      
      BalancerMember ip1 loadfactor=1 
      BalancerMember ip2 loadfactor=1 </p>
  
  <pre><code> ProxySet lbmethod=byrequests#Request Counting Algorithm
   BalancerMember http://192.168.0.2/ # Balancer member 1
   BalancerMember http://192.168.0.10/ # Balancer member 2
    ProxySet lbmethod=bybusyness
    &lt;/Proxy&gt;
  </code></pre>
  
  <p>However, I keep getting the error:BalancerMember can not have a balancer name when defined in a location</p>
  
  <p>from this line:
       BalancerMember "//192.168.0.2/" # Balancer member 1</p>
  
  <p>Please help</p>