With an .htaccess file, you can define how the server which handles the requests to your websites have to act in various occasions. This is a text file with directives that are carried out when somebody tries to open your site and what happens next is determined by the content of the file. For instance, you may block a specific IP address from opening your website, and the server will decline your visitor’s request, or you can forward your domain name to a different URL, so the server will redirect the visitor to the new web address. Also you can use personalized error pages or protect any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven applications, including Drupal™, Joomla™ and WordPress, use an .htaccess file to work efficiently.