With an .htaccess file, you shall specify how the web server which deals with the requests to your Internet sites must act a number of situations. This is a text file with directives that are performed when somebody tries to open your website and what happens next depends on the content of the file. As an illustration, you can block a certain IP address from accessing the website, which means that the server will decline your visitor’s request, or you can redirect your domain to some other URL, so the server may redirect the visitor to the new web address. You may also use custom-made error pages or protect any part of your site with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven apps, including Joomla™, Drupal™ and WordPress, use an .htaccess file to function correctly.