Visualizzazione dei risultati da 1 a 8 su 8

Hybrid View

  1. #1
    Moderatore di Windows e software L'avatar di URANIO
    Registrato dal
    Dec 1999
    residenza
    Casalpusterlengo (LO)
    Messaggi
    1,290
    Se cerchi su google trovi molti esempi e anche editor online

  2. #2
    Utente di HTML.it L'avatar di neo1976
    Registrato dal
    Mar 2015
    Messaggi
    379
    Quote Originariamente inviata da URANIO Visualizza il messaggio
    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

    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
    però se ho ben capito è destinato a chi ha un server Apache, mentre io ho Nginx, sbaglio? o funziona anche su Nginx?
    Ultima modifica di neo1976; 13-03-2023 a 17:53

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.