Configuring your web server with .htaccess

A .htaccess file helps you to configure your web server, such as the Apache web server. In a .htaccess file, you can declare rewrite rules, prevent image hotlinking, handle bad http requests (404 Not Found), and so on. You can even use htaccess for basic authentication along with a .htpassword file where you can store […]