With an .htaccess file, you'll define how the web server that deals with the requests to your web sites have to act in various cases. This is a text file with directives that are executed when someone tries to open your website and what happens next is determined by the content of the file. For example, you can block a particular IP address from opening the website, and the server will decline the visitor’s request, or you can forward your domain to an alternative URL, so the server may redirect the visitor to the new web address. Also you can use custom-made error pages or protect any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven applications, like Drupal™, Joomla™ and WordPress, use an .htaccess file to work efficiently.