0

Why it is not allowing my IP to access Apache Load Balancer

  <Location /balancer-manager>
   SetHandler balancer-manager
   Require host demo-002
   Order deny,allow
   Deny from all
   Allow from 127.0.0.1 10.201.165.186
  </Location>

Seeing the following error

 [access_compat:error] [pid 22702] [client 10.201.165.86:59524] AH01797: client denied by server configuration: /var/www/html/balancer-manager

Apache version: Apache/2.4.6

Please suggest .

Zama Ques
  • 523
  • 1
  • 9
  • 24

1 Answers1

0

It seems on Apache 2.4 , we have to use Require parameter to allow an IP address . SO for my scenario , the following below works

<Location /balancer-manager>
   SetHandler balancer-manager
   Require ip 127 10.201.165.86
 </Location>
Zama Ques
  • 523
  • 1
  • 9
  • 24