Ograničeno trajanje - from HRK5,25/mj
00
DANA
21
SATI
01
MINUTA
42
SEKUNDI
Počnite
×

Baza znanja

Pronađite članak o značajkama, provjerite upute,
i ostale tehničke informacije vezane za za hosting usluge Hostingera.

How to block IP using .htaccess file?

Modificirano dana:
htaccess country blocked block IP IP block

You may block access to your website from specific IP addresses using .htaccess file.

You need to create this file in your public_html folder and add these example lines:

order allow,deny deny from 127.0.0.1 allow from all 

These lines will block access for all users using 127.0.0.1 IP address. Just change the 127.0.0.1 to the IP you want to block.

You can download the list of each country IPs from following link: https://www.countryipblocks.net/country_selection.php

  • Jednostavni Alat za izradu stranica
  • 99.9% Uptime garancija
  • 24/7 Podrška
  • Powerful Control Panel
  • 30-dnevno Jamstvo povrata novca
Posebna ponuda ograničenog vremena!
Počevši od
HRK
5
25
/mj
Uštedi 90%
Počnite