Category Archives: Apache

Apache: Common usage of .htaccess

Hello friends, Here are some common usage of .htaccess file. #1) Authorization A .htaccess file is often used to specify directory level security restrictions. The .htaccess file is often accompanied by a .htpasswd file which stores valid usernames and their passwords. #2) URL Rewriting A .htaccess file can be used to rewrite long, comprehensive URLs… Read More »