Good tutorial for wirte .htaccess file
===

I Am new about security.and i don't know any idea about write htaccess file. is any good tutorial? i searched internet but cant find a good link and complete about this (i work on direct admin panel)