a very good resource for this information is Jeff Star’s new website
http://htaccessbook.com
his regular website is
http://perishablepress.com/category/web-design/htaccess/
I am assuming that you have secured your Htaccess file and that something else is amiss.