With an .htaccess file, you will specify how the web server which manages the requests to your web sites should act a number of situations. This is a text file with directives that are executed when somebody tries to open your Internet site and what happens next is determined by the content of the file. For instance, you could block a specific IP address from accessing your website, so the server will decline the visitor’s request, or you can forward your domain to a different URL, so the server may redirect the visitor to the new web address. Also you can use customized 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 apps, like Joomla™, WordPress and Drupal™, use an .htaccess file to work correctly.