Welcome to WebmasterWorld Guest from 184.108.40.206 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Pubcon Platinum Sponsor 2014
Apache 1.3 mod_rewrite question Returning 404 codes for a specific domain? LukeyBoy msg:1500000 3:21 pm on Jul 24, 2003 (gmt 0) Basically I have a domain-name pointing at my machine that's not my primary DNS name, and certain bots keep requesting it. I want to return a 404 when a browser/UA requests anything from domain X. Can anyone help me out? Thanks!
hakre msg:1500001 6:03 pm on Jul 24, 2003 (gmt 0)
just map your domain to a non existing directory. this should work.
or map it to an empty dir and disable directory indexing: options -index in .htaccess .