Tag Archives: htpasswd

Setting up Apache Authentication with htpasswd / htaccess

Authentication in Apache is done through htaccess, either from the configuration file, or from the .htaccess file in a given directory. Note that only full directories can be easily protected with this method. Here is how: (first log in to the shell, as this method only works if you have shell access) $ cd …/html/protected_dir [...]


Leave a comment Continue Reading →

Do you have an authentication routine, like htpasswd to protect web pages?

authentication in Apache is done through htaccess, either from the configuration file, or from the .htaccess file in a given directory. Note that only full directories can be easily protected with this method. Here is how: (first log in to the shell, as this method only works if you have shell access) $ cd …/html/protected_dir [...]


Leave a comment Continue Reading →