Tag Archive for '.htaccess'

image_pdfimage_print

Gentoo – Protecting Web Directories With .htaccess

In this guide I will show you how to protect your localhost web root with .htaccess and .htpasswd files. By doing this a username and password will be required to enter the site. Let’s get started! As root do the following: