Discussion:
How to deny vhoster.org spam with htaccess file ?
(too old to reply)
Tauern Schnee
2015-11-09 11:11:25 UTC
Permalink
First step in my htaccess file:
Deny from 91.200.12 #vhoster.org, UA
No success, vhoster is spamming

Second step:
Deny from 91.200.12 #vhoster.org, UA
Deny from 91.200.12. #vhoster.org,UA
No success, vhoster is spamming

Third step:
Deny from 91.200.12 #vhoster.org, UA
Deny from 91.200.12. #vhoster.org,UA
Deny from vhoster.org
No success, vhoster is spamming

Fourth step:
Deny from 91.200.12 #vhoster.org, UA
Deny from 91.200.12. #vhoster.org,UA
Deny from vhoster.org
Deny from .vhoster.org
No success, vhoster is spamming

Host is e.g. "dsystemip2.vhoster.org"
vhost.org makes a lot of spam in my Wordpress blog.
I have "Antispam Bee" there which has a lot of work.

What do I wrong with htaccess file ?
Is there a better method e.g. with "rewrite" ?

Thx in advance for your helpful hints
Josef alias Tauernschnee
patpro ~ patrick proniewski
2015-11-09 16:08:15 UTC
Permalink
what is your apache version?
Post by Tauern Schnee
Deny from 91.200.12 #vhoster.org, UA
No success, vhoster is spamming
Deny from 91.200.12 #vhoster.org, UA
Deny from 91.200.12. #vhoster.org,UA
No success, vhoster is spamming
Deny from 91.200.12 #vhoster.org, UA
Deny from 91.200.12. #vhoster.org,UA
Deny from vhoster.org
No success, vhoster is spamming
Deny from 91.200.12 #vhoster.org, UA
Deny from 91.200.12. #vhoster.org,UA
Deny from vhoster.org
Deny from .vhoster.org
No success, vhoster is spamming
Host is e.g. "dsystemip2.vhoster.org"
vhost.org makes a lot of spam in my Wordpress blog.
I have "Antispam Bee" there which has a lot of work.
What do I wrong with htaccess file ?
Is there a better method e.g. with "rewrite" ?
--
A vendre :
http://www.leboncoin.fr/informatique/821220894.htm
http://www.leboncoin.fr/informatique/821221994.htm
Tauern Schnee
2015-11-10 12:20:49 UTC
Permalink
I have Apache version 2.4

Josef alias Tauernschnee
Kees Nuyt
2015-11-10 13:58:56 UTC
Permalink
On Tue, 10 Nov 2015 13:20:49 +0100, Tauern Schnee
Post by Tauern Schnee
I have Apache version 2.4
Josef alias Tauernschnee
You are trying to use Apache 2.2 config directives on Apache 2.4.

Have a look at:
http://httpd.apache.org/docs/2.4/upgrading.html
--
Regards,
Kees Nuyt
se
2015-11-09 17:19:19 UTC
Permalink
Post by Tauern Schnee
Deny from 91.200.12 #vhoster.org, UA
No success, vhoster is spamming
Deny from 91.200.12 #vhoster.org, UA
Deny from 91.200.12. #vhoster.org,UA
No success, vhoster is spamming
Deny from 91.200.12 #vhoster.org, UA
Deny from 91.200.12. #vhoster.org,UA
Deny from vhoster.org
No success, vhoster is spamming
Deny from 91.200.12 #vhoster.org, UA
Deny from 91.200.12. #vhoster.org,UA
Deny from vhoster.org
Deny from .vhoster.org
No success, vhoster is spamming
Host is e.g. "dsystemip2.vhoster.org"
vhost.org makes a lot of spam in my Wordpress blog.
I have "Antispam Bee" there which has a lot of work.
What do I wrong with htaccess file ?
Is there a better method e.g. with "rewrite" ?
Thx in advance for your helpful hints
Josef alias Tauernschnee
Try this: Be carefull not have any spaces after
any line-end in your htaccess file. Because the file will error
having spaces in line-ends. Also, move all comments to its
own line. Below blocks from 91.200.12.0 - 91.200.12.255
But the one you made having a point after 12 makes an error.
You can also write this as: 91.200.12.0/24
Come into a habit google the answers. Or use apache.org/docs

Order Allow,Deny
Allow from all
#vhoster.org, UA
Deny from 91.200.12
Tauern Schnee
2015-11-10 12:24:18 UTC
Permalink
Thx for your proposals. I will test them.

Josef alias Tauernschnee
se
2015-11-10 20:22:09 UTC
Permalink
Post by Tauern Schnee
Thx for your proposals. I will test them.
Josef alias Tauernschnee
It works in apache 2.4
/se

Loading...