With an .htaccess file, you shall define how the web server that addresses the requests to your web sites should act in different situations. This is a text file with directives that are performed when someone tries to open your site and what happens next is determined by the content of the file. For instance, you could block a particular IP address from accessing your website, so the server will decline your visitor’s request, or you can redirect your domain to some other URL, so the server may direct the visitor to the new web address. You may also use personalized error pages or preserve any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many popular script-driven apps, like Joomla™, WordPress and Drupal™, use an .htaccess file to work correctly.