Hello all!
I wanted to block 2 users from Rusia (I suppose they are the autors for a DDOS Atack) and I modified the .htaccess ...
Now, I ask you if this following code is corect because I modified it and I am affraid not to do a mistake:

IndexIgnore .....
<Files .htaccess>
order allow,deny
deny from all
</Files>
<Limit GET POST>
order deny,allow
deny from ... . ... . ... . ...
deny from ... . ... . ... . ...
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from ... . ... . ... . ...
deny from ... . ... . ... . ...
allow from all
</Limit>
AuthName ................
AuthUserFile
AuthGroupFile

Should here be with deny from all or without?
<Limit GET POST>
order deny,allow
deny from ... . ... . ... . ...
deny from ... . ... . ... . ...
deny from all
allow from all
</Limit>

Thanks!!!
funman Reviewed by funman on . .htaccess code - is it corect? Hello all! I wanted to block 2 users from Rusia (I suppose they are the autors for a DDOS Atack) and I modified the .htaccess ... Now, I ask you if this following code is corect because I modified it and I am affraid not to do a mistake: IndexIgnore ..... <Files .htaccess> order allow,deny deny from all </Files> <Limit GET POST> Rating: 5