With an .htaccess file, you can determine how the web server that handles the requests to your Internet sites must act in various cases. This is a text file with directives that are performed when somebody tries to open your website and what happens next is determined by the content of the file. As an example, you may block a specific IP address from accessing the site, so the server will decline your visitor’s request, or you can forward your domain to an alternative URL, so the server may direct the visitor to the new web address. Also you can use tailor-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 popular script-driven applications, including Joomla™, WordPress and Drupal™, use an .htaccess file to function correctly.