Hello Hostmavi.
1.) Exactly, I tried everything and nothing blocks, the only thing blocking is if I put rules (like in post #39) in the .htaccess. But that's not server wide. But thank you for confirming that they don't work for you either. I was already thinking I was going crazy.
2.) Thank you. But this was not really what I was looking for. I just wanted to have an option to block all these bots server wide, not only for 1 domain. As for the redirect, that is most likely caused by this piece of required .htaccess from Xenforo itself:
Code:
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(data|js|styles|install) - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
3.) I've found various examples on the internet, various started with <IfModule mod_rewrite.c> but I tested with the mod_setenvif.c and in the httpd-includes.conf that did not work either. I will be testing some more later this night.
All mentioned apache modules are loaded. If I'm correct they are installed by DA by default.
by the way SetEnvIfNoCase Request_URI "xlmrpc\.php" bad_bot xlmrpc wrong it should be xmlrpc
I took that over from post #40. For regexp things and \ in things i'm a copy and paste guy.
i prefer to use modsecurity.
I would like that, but when I enabled it first, it blocked way too much and got customer complaints. Also I've seen on the forums that several rules needs to be adjusted to prevent this. I'm 61 and don't know regexp stuff so I like to keep things easy the last few years that I'm doing this without my customers complaining.
Seems a lot of things do not work in the httpd-includes.conf while they are correctly formatted. Makes me wonder if that does anything anyway that file. Some things are checked. Try using an "deny from all" in there, LoL... apache won't restart. So what -can- one use in there, it's not doing what the docs say it should.
As for now I just use the htaccess see if I can find another serverwide option.