With an .htaccess file, you shall define how the web server that addresses the requests to your Internet sites must act in different 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 could block a certain IP address from opening the website, and 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. You may also use custom error pages or shield any part of your website with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven apps, such as Joomla™, Drupal™ and WordPress, use an .htaccess file to operate correctly.