Se cerchi su google trovi molti esempi e anche editor online
Se cerchi su google trovi molti esempi e anche editor online
Ho provato con quelle righe di codice ma non ha funzionato, ora ho provato con queste righe di codice basandomi sull'esempio fornito da questo sito: https://gist.github.com/dvlop/fca362...09e1e038a3bbc1
però se ho ben capito è destinato a chi ha un server Apache, mentre io ho Nginx, sbaglio? o funziona anche su Nginx?codice:# Start Bad Bot Prevention <IfModule mod_setenvif.c> # SetEnvIfNoCase User-Agent ^$ bad_bot SetEnvIfNoCase User-Agent "^AhrefsBot.*" bad_bot SetEnvIfNoCase User-Agent "^Applebot.*" bad_bot SetEnvIfNoCase User-Agent "^bingbot.*" bad_bot SetEnvIfNoCase User-Agent "^DataForSeoBot.*" bad_bot SetEnvIfNoCase User-Agent "^LivelapBot.*" bad_bot SetEnvIfNoCase User-Agent "^SemrushBot.*" bad_bot <Limit GET POST PUT> Order Allow,Deny Allow from all Deny from env=bad_bot </Limit> </IfModule> # End Bad Bot Prevention
Ultima modifica di neo1976; 13-03-2023 a 17:53