New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Low performance if many Virtual Hosts #64 (Next) #130
Comments
I integrate the list directly into the VirtualHost, without going through a secondary file: I really wish I could integrate an external file.
|
Why are you modifying globalblacklist.conf ? Have you read the comments in that file saying don't edit anything ? Adding rewrite rules into the globalblacklist WILL break things please follow all instructions. Just use the blocker don't try and modify it. |
Maybe @ZerooCool we have a language barrier because I'm not understanding what it is you are trying to do or change 🤔 |
why are you not using
you are using the mod_rewrite which will always have performance issues, that's not a recommended method it's meant for people who do not have access to the backend of apache? Is that your case? |
Okay ! I discovered the README which is really well written : I modify my directory :
After commenting REQUIRE : It works ! I am surprised however, although I disabled the inclusion, the file is still taken into consideration. According to my tests, it is the order of follow-up of the symbolic links which took priority? So, if I activate +FollowSymLinks and I disable -Includes, the inclusion will still be and work good : Include custom.d/globalblacklist.conf ByeBye mod rewrite Hello bad bot blocker.
|
I have read this issue : #64
My configuration :
Apache 2.4
CMS Joomla
I add the ultimate bad bot blocker with my virtualhost :
https://wiki.visionduweb.fr/index.php?title=Configurer_le_fichier_.htaccess#Une_liste_de_plus_de_7000_bots_bloqu.C3.A9s_avec_.htaccess
My VirtualHost ( for visionduweb.fr ) :
https://wiki.visionduweb.fr/index.php?title=VirtualHosts_des_domaines_enregistr%C3%A9s#visionduweb.fr_.C3.A9coute_du_port_SSL_443
To the bottom from the VirtualHost from visionduweb.fr , i add :
</VirtualHost>
In /etc/apache2/custom.d/globalblacklist.conf i have add all from https://github.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/blob/master/_htaccess_versions/htaccess-mod_rewrite.txt and remove the code for apache 2.2
I restart apache2.
I make a test, if the bad bots are bloqued :
curl -A "IRLbot" -I https://www.visionduweb.fr/robots.txt
My website work with the domain name : visionduweb.fr
But, if i want use visionduweb.fr/forum ..... visionduweb.fr/blog ...... visionduweb.fr/annuaire .... don't work now.
->
Not Found
The requested URL /blog was not found on this server.
If i comment this code my website work good, but then, i don't have ultimate bad bot blocker.
The text was updated successfully, but these errors were encountered: