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:[EMAIL PROTECTED]
Member #1, Red Hat Community Ambassador Program


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to