Welcome to WebmasterWorld Guest from 188.8.131.52 , 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
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!
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 .