using apache 2.2x and mod_authz_host to denying access (jboss is serving the site)
Posted on 2012-03-21
Hi my question is about denying access to a range of IPs but I tried testing with "deny from all" but I am still able to access the site.
The current config is that apache is serving a site through jboss. so for example there is no local "/www/mysite/docs/".
I can confirm that modules/mod_authz_host.so is in the modules folder..
So I added the below to the httpd.conf
Alias /Login-Page/ "--not 100% sure what needs to go here as Jboss is serving the war--"
# I did try the full path the login page from within jboss deployment "server/default/tmp/deploy/tmp/...loginpage" just to see
Deny from all
# Allow from <<IP address Range>>/24