IP filtering
|
|
I am looking for a way to perform IP filtering on a bitnami rubystack i’ve set up. I need to forbid access from any IP except those that are in a list of subnets I specify. I know this can be done in apache using a directory directive however i can’t figure out the correct place or even the correct conf file to place this directive in when using the rubystack. Can someone help with this? Thanks, |
|
|
Never mind, I fixed the problem myself. For those interested I did this by placing a directive in the httpd.conf file <location />Order deny,allow Deny from all Allow from xxx </location> where xxx is the IP address i want to allow. |
|
|
Hi, Exactly, that is indeed the solution :) Cheers |
