Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

htacess a- how to block IP address

  • 27-11-2015 01:27AM
    #1
    Registered Users, Registered Users 2 Posts: 1,907 ✭✭✭


    I am on shared linux hosting - I tried already this:
    https://help.blacknight.com/entries/22917721-How-to-block-IP-addresses-from-viewing-my-site-
    ...but for some reason it is not working and awstats still shows visits from unwanted IPs.This is what I have:

    order allow,deny
    deny from 123.123.123.123
    deny from 123.12.3.
    allow from all //- I presume this should go??


    PS - i just realised last line from mentioned link probably messing with settings. I presume it shouldn't be there? I am going to remove it and check if it is working. Apologies for opening thread before using my own brain.


Comments

Advertisement