enmoderugby Posted March 14, 2025 Share Posted March 14, 2025 Bonjour, Je tente de bloquer une (ou plusieurs) adresse IP. J'ai lu qu'il fallait mettre un bout de code comme ci-après dans le fichier .htaccess à la racine... mais ça ne fonctionne pas ! Cette adresse se retrouve toujours dans mes logs Citation Order Deny,Allow Deny from 47.76.99.127 Allow from all Link to comment Share on other sites More sharing options...
meditation Posted March 14, 2025 Share Posted March 14, 2025 si le site est derrière d’un CDN? Link to comment Share on other sites More sharing options...
Knowband Plugins Posted March 15, 2025 Share Posted March 15, 2025 15 hours ago, enmoderugby said: Order Deny,Allow Deny from 47.76.99.127 Allow from all It should work. I hope your webserver is apache, not the nginx. Link to comment Share on other sites More sharing options...
enmoderugby Posted March 15, 2025 Author Share Posted March 15, 2025 Where can I find out if my server is apache or nginx ? Link to comment Share on other sites More sharing options...
enmoderugby Posted March 15, 2025 Author Share Posted March 15, 2025 Il y a 12 heures, meditation a dit : si le site est derrière d’un CDN? Oui, pourquoi ? Qu'est-ce que cela fait ? Link to comment Share on other sites More sharing options...
meditation Posted March 15, 2025 Share Posted March 15, 2025 oui, si derrière CDN, il faut bloquer IP via CDN, non avec votre serveur apache Link to comment Share on other sites More sharing options...
enmoderugby Posted March 15, 2025 Author Share Posted March 15, 2025 En fait j'ai dit une erreur, ce n'est pas ce nom de domaine qui est derrière un CDN. Donc le problème reste. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now