With an .htaccess file, you'll determine how the web server that manages the requests to your Internet sites must act in various cases. This is a text file with directives that are executed when somebody tries to open your website and what happens next depends on the content of the file. For instance, you could block a certain IP address from accessing the Internet site, therefore the server will decline the visitor’s request, or you can redirect your domain to another URL, so the server may direct the visitor to the new web address. You can also use tailor-made error pages or secure any part of your site with a password, if you place an .htaccess file inside the correct folder. Many well-known script-driven applications, including Joomla™, WordPress and Drupal™, use an .htaccess file to operate correctly.