Block certain incoming ip's

Discussion in 'General' started by Martin1982, Feb 27, 2006.

  1. Martin1982

    Martin1982 New Member

    Is it possible to block certain incoming ip's on certain websites?
  2. badben

    badben New Member

  3. Martin1982

    Martin1982 New Member

    I just tried to put a line

    Deny from in the Directive block at the bottom in ISPconfig of a test-site.
    When I hit save and opened the site properties again my line was changed to:
    #Deny from #NOT SUPPORTED

    Am I doing something wrong?
  4. badben

    badben New Member

    You may have to install the apache module 'mod_authz_host' onto apache.
  5. rayit

    rayit Member

    maybe use .htaccess

    Not the best solution, but sometimes usefull?

    make a file .htaccess in your web directory

    <Limit GET>
    order deny,allow
    deny from {addresses}


    <Limit GET>
    order deny,allow
    deny from 155.212. 199.171.167.


Share This Page