I'm trying something which is really basic but since upgrading to Apache 2.2.17 no matter what I change in the config file:
/etc/httpd/conf/httpd.conf
I can not get it to deny any IPs. I have the below for example:
<Directory "/var/www/html">
Options +Indexes +FollowSymLinks
AllowOverride None
Order allow,deny
deny from MYIPHERE
Allow from all
<IfModule mod_suphp.c>
suPHP_Engine On
suPHP_UserGroup webapps webapps
</IfModule>
</Directory>
Basically I am trying to block IPs that look like making dodgy attempts at the server (I know adding to firewall is best etc but want to be able to add here as can update the config via the DA CP).
Any ideas why no matter what I do (even 'deny from all' makes no difference)
/etc/httpd/conf/httpd.conf
I can not get it to deny any IPs. I have the below for example:
<Directory "/var/www/html">
Options +Indexes +FollowSymLinks
AllowOverride None
Order allow,deny
deny from MYIPHERE
Allow from all
<IfModule mod_suphp.c>
suPHP_Engine On
suPHP_UserGroup webapps webapps
</IfModule>
</Directory>
Basically I am trying to block IPs that look like making dodgy attempts at the server (I know adding to firewall is best etc but want to be able to add here as can update the config via the DA CP).
Any ideas why no matter what I do (even 'deny from all' makes no difference)