.htaccess/blocking on ServerFFS webhost
#1

Since serverFFS has no support, I have to ask here

I'm sick and tired of multiple (8-14) Baidu bots eating bandwidth and contents of my forum, so I decided to block them with .htaccess (since they don't care about robots.txt):
Код:
order allow,deny
deny from 180.76.5.0-180.76.5.255
deny drom 180.76.6.0-180.76.6.255
allow from all
and all I got was error 500 Internal Server Error, so tried this:
Код:
deny from 180.76.5.0-180.76.5.255
deny drom 180.76.6.0-180.76.6.255
with same result

Am I doing something wrong or it's just ServerFFS being ServerFFS, not allowing .htaccess?
Also, their DirectAdmin IPBlocker doesn't do its job, and the internal firewall is not available for me because of no gameserver bought.
Reply
#2

Order Deny,Allow
Allow from all
Deny from XXX.XXX.XXX.XXX
Reply
#3

I'm just saying my view that you need to choose a reliable host that can assist you fix this problem as at ServerFFS you have to fix what you broke on your own..because they have no support.

OnTopic : Doesn't the CP provide you with a option to "FireWall" or "IP.Deny"?
Reply
#4

Quote:
Originally Posted by Brandon Javorsky
Посмотреть сообщение
I'm just saying my view that you need to choose a reliable host that can assist you fix this problem as at ServerFFS you have to fix what you broke on your own..because they have no support.

OnTopic : Doesn't the CP provide you with a option to "FireWall" or "IP.Deny"?
He answered that already on his OP.

Quote:

Also, their DirectAdmin IPBlocker doesn't do its job, and the internal firewall is not available for me because of no gameserver bought.

Reply
#5

Then idk I've never encountered a problem like this.
Reply
#6

Quote:
Originally Posted by DRIFT_HUNTER
Посмотреть сообщение
Order Deny,Allow
Allow from all
Deny from XXX.XXX.XXX.XXX
Well, that actually stopped the error, hope it'll block the crawlers too, thanks, rep added
Reply
#7

Quote:
Originally Posted by DiDok
Посмотреть сообщение
Well, that actually stopped the error, hope it'll block the crawlers too, thanks, rep added
It should block the bots because I used htaccess to block some bots and idiots who attacked me.
The error is gone because it now allows access to everyone except the ips added.


Allowing everyone #1
Blocking the ips #2


Quote:
Originally Posted by Brandon Javorsky
Посмотреть сообщение
Then idk I've never encountered a problem like this.
So stop posting if you have no idea or can't read the first post.
Reply
#8

Well, after I denied my IP I can still join and crawlers are still coming (10 now =F) so something is screwed, I did all I think I needed - making new .htaccess in NPP, uploading it in ASCII mode, even tried putting it in different directories
Reply
#9

I never had to deal with ip ranges but this is how i did it and it blocked me.


order allow,deny
deny from xxxxxxxx
deny from xxxxxxx
allow from all


So, originally, the thing you posted in the first post is supposed to work. Try deleting the htacess file and making a new one with new rules.


If it's a forum then just block it through ACP.
Reply
#10

Quote:
Originally Posted by DiDok
Посмотреть сообщение
Well, after I denied my IP I can still join and crawlers are still coming (10 now =F) so something is screwed, I did all I think I needed - making new .htaccess in NPP, uploading it in ASCII mode, even tried putting it in different directories
Do you use a forums? I know you can block ip's with that.
Reply


Forum Jump:


Users browsing this thread: 9 Guest(s)