With an .htaccess file, you shall determine how the server which handles the requests to your Internet sites have to act in various occasions. This is a text file with directives that are performed when someone tries to open your website and what happens next depends on the content of the file. For instance, you may block a specific IP address from opening the site, therefore the server will decline the visitor’s request, or you can forward your domain name to a different URL, so the server may redirect the visitor to the new web address. You may also use tailor-made error pages or shield any part of your website with a password, if you place an .htaccess file inside the correct folder. Many well-known script-driven apps, such as Joomla™, Drupal™ and WordPress, use an .htaccess file to function correctly.