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 .

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>
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.