Re: kill httpd hostname request by httpd.conf

From: Ed Wilts (ewilts_at_ewilts.org)
Date: 09/29/03

  • Next message: redhat_at_think.nl: "Amavis install problem on RH 9"
    To: redhat-list@redhat.com
    Date: Mon, 29 Sep 2003 10:01:46 -0500
    
    

    On Mon, Sep 29, 2003 at 10:43:53AM -0400, Joe Szilagyi wrote:
    > If I wanted to block an httpd request for a hostname via my httpd.conf file,
    > how could I block it by domain name? I.E., if someone pointed a hostname of
    > 'something.joe.com' at my IP address using DNS servers beyond my control,
    > for some reason, and I wanted to basically kill every request they send at
    > me, what's the entry and syntax I should put in httpd.conf?

    Read up on Apache access controls - the documentation *is* on
    apache.org. In short, add something like this:
    <Directory />
        Options FollowSymLinks
        AllowOverride None
        Order Deny,Allow
        Deny from .redhat.com
    </Directory>

    -- 
    Ed Wilts, Mounds View, MN, USA
    mailto:ewilts@ewilts.org
    Member #1, Red Hat Community Ambassador Program
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: redhat_at_think.nl: "Amavis install problem on RH 9"