This forum is no longer active. Please post your questions to our new community site

IP filtering

Subscribe to IP filtering 3 post(s), 2 voice(s)

Avatar craigwarren 5 post(s)

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?


Avatar craigwarren 5 post(s)

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

where xxx is the IP address i want to allow.

Avatar antonio 621 post(s)


Exactly, that is indeed the solution :)