I fould my solution. I just added the examples in these links to my httpd.conf instead of .htaccess. I prefer httpd.conf because its not as easy to forget as .htaccess when doing a website restoration, or troubleshooting.
Comprehensive guide to .htaccess
Hijacking - Some Advice for Webmasters
Looks like it's working so far.