With an .htaccess file, you shall determine how the web server which addresses 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 Internet site and what happens next depends on the content of the file. For example, you can block a certain IP address from opening the site, therefore the server will decline your visitor’s request, or you can forward your domain to some other URL, so the server will redirect the visitor to the new web address. You may also use customized error pages or protect any part of your website with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven apps, like Joomla™, WordPress and Drupal™, use an .htaccess file to work correctly.