I don't think I'll ever master rewrite rules ...
Here's what I need: I have 2 legitimate URLs: http://mail.mydom.com
. I want anyone trying http://mydom.com
to get a 400 status. What's my rewrite rule to do this?
Actually, not sure what the most appropriate return status should be:
400 Bad Request
404 Not Found
501 Not Implemented
503 Service Unavailable
404 implies a bad pagename, not necessarily an invalid domain. 503 implies that the server is down. So, I don't think I favor either of those. Open to suggestions.