With an .htaccess file, you will define how the server which deals with the requests to your websites should act in various scenarios. This is a text file with directives that are executed when somebody tries to open your site and what happens next depends on the content of the file. As an example, you may block a specific IP address from accessing the Internet site, and the server will decline your visitor’s request, or you can forward your domain name to a different URL, so the server may direct the visitor to the new web address. Also you can use customized error pages or secure any part of your site with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven applications, such as Joomla™, WordPress and Drupal™, use an .htaccess file to work properly.