Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Apache 1.3 mod_rewrite question

Returning 404 codes for a specific domain?

3:21 pm on Jul 24, 2003 (gmt 0)

New User

10+ Year Member

joined:Apr 6, 2003
votes: 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!
6:03 pm on July 24, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 7, 2003
votes: 0

hi LukeyBoy,

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 .



Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members