need help creating .htaccess file for linux web hosting
Posted on 2006-11-07
I have a web host that allows multiple domains hosted in the same hosting account, the primary site is the root directory and then the cpanel creates subdirectories for my other sites that are then converted to regular domain names.
I would like to create a very basic .htaccess file that will protect every single site in my hosting account from hackers and spambots. I need to be careful though because if I put an .htaccess file in the root directory I could easily shut down every single domain hosted in my account!
Can anyone help me write a very basic .htaccess file for basic protection of all the websites in my hosting account?