Hi,
We are using Apache2 on HP-UX as a load balancer to tomcat 4.1.27 instances using mod_jk2 AJP13 connectors.
Our cluster is fine and has been running for several months.
The problem is now that we would like to deny a list of IP addresses from accessing through the Apache2
In the httpd.conf file I have added the following to the <Directory /> entry as follows
<Directory />
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
Deny from 10.252.5.15
Deny from 10.252.5.16
Deny from 10.252.5.17
Deny from 10.252.5.18
Deny from 10.252.5.19
Deny from 10.252.5.20
Deny from 10.252.5.23
Deny from 10.252.5.26
Deny from 10.252.5.27
Deny from 10.252.5.28
Deny from 10.252.5.29
Deny from 10.252.5.76
Deny from 10.120.91.53
Deny from 10.120.90.72
Deny from 10.120.90.71
Deny from 10.120.90.76
Deny from 10.252.5.58
Deny from 10.252.5.59
Deny from 10.252.5.60
Deny from 10.252.5.61
Deny from 10.252.5.62
Deny from 10.252.5.63
Deny from 10.252.5.64
Deny from 10.127.65.7
Deny from 10.127.65.8
</Directory>
This however does not deny these IP addresses as they are still accessing the Tomcats through the apache. I can see these IP addresses still in the server-status page.
Please can anybody tell me HOW and WHERE to change the httpd.conf file to get the result I need
Regards to all
We are using Apache2 on HP-UX as a load balancer to tomcat 4.1.27 instances using mod_jk2 AJP13 connectors.
Our cluster is fine and has been running for several months.
The problem is now that we would like to deny a list of IP addresses from accessing through the Apache2
In the httpd.conf file I have added the following to the <Directory /> entry as follows
<Directory />
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
Deny from 10.252.5.15
Deny from 10.252.5.16
Deny from 10.252.5.17
Deny from 10.252.5.18
Deny from 10.252.5.19
Deny from 10.252.5.20
Deny from 10.252.5.23
Deny from 10.252.5.26
Deny from 10.252.5.27
Deny from 10.252.5.28
Deny from 10.252.5.29
Deny from 10.252.5.76
Deny from 10.120.91.53
Deny from 10.120.90.72
Deny from 10.120.90.71
Deny from 10.120.90.76
Deny from 10.252.5.58
Deny from 10.252.5.59
Deny from 10.252.5.60
Deny from 10.252.5.61
Deny from 10.252.5.62
Deny from 10.252.5.63
Deny from 10.252.5.64
Deny from 10.127.65.7
Deny from 10.127.65.8
</Directory>
This however does not deny these IP addresses as they are still accessing the Tomcats through the apache. I can see these IP addresses still in the server-status page.
Please can anybody tell me HOW and WHERE to change the httpd.conf file to get the result I need
Regards to all