How can I ban one static IP, my vhosts file:
NameVirtualHost my_IP:80
<VirtualHost my_IP:80>
DocumentRoot E:/xampp/htdocs/
ServerName my_servername
ServerAdmin admin@servername
<Directory "E:/xampp/htdocs/">
Options Indexes FollowSymLinks
AllowOverride FileInfo
AllowOverride Indexes
Order allow,deny
Allow from all
Deny from bad_IP
</Directory>
</VirtualHost>
This is not working...
When I trying to creata .htacces file with line:
Deny from bad_IP I have 500 server error