With an .htaccess file, you can define how the web server that deals with the requests to your web sites should act in various situations. This is a text file with directives that are performed when someone tries to open your website and what happens next is determined by the content of the file. As an illustration, you may block a specific IP address from accessing the website, and the server will decline the visitor’s request, or you can forward your domain name to an alternative URL, so the server will direct the visitor to the new web address. Also you can use custom error pages or shield any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many well-known script-driven apps, like Joomla™, Drupal™ and WordPress, use an .htaccess file to function correctly.