With an .htaccess file, you'll determine how the server which deals with the requests to your Internet sites have to act in a variety 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 example, you can block a particular IP address from accessing the site, which means that the server will decline your visitor’s request, or you can redirect your domain to another URL, so the server will redirect the visitor to the new web address. Also you can use tailor-made error pages or secure any part of your site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, like Drupal™, Joomla™ and WordPress, use an .htaccess file to operate correctly.