Limit access by IP address


/ Published in: Apache
Save to your folder(s)



Copy this code and paste it in your HTML
  1. order deny,allow
  2. allow from 127.0.0.1
  3. allow from 192.168.1.1
  4. allow from 172.22.1.1
  5. deny from all

Report this snippet


Comments


You need to login to view comments.