BAN IP in XAMPP

Problems with the Windows version of XAMPP, questions, comments, and anything related.

BAN IP in XAMPP

Postby jurisz » 30. September 2007 10:03

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
jurisz
 
Posts: 18
Joined: 21. August 2007 00:07

Postby Wiedmann » 30. September 2007 11:41

Deny from bad_IP I have 500 server error

Read the error.log what's the problem.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 44 guests