Page 1 of 1

BAN IP in XAMPP

PostPosted: 30. September 2007 10:03
by jurisz
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

PostPosted: 30. September 2007 11:41
by Wiedmann
Deny from bad_IP I have 500 server error

Read the error.log what's the problem.