In this tutorial you will learn how to install MAMP on a Mac. If you want to do any development work in PHP and MySQL then you will need to install a server environment which includes Apache and MySQL. The most popular way of doing this is to use a stack such as MAMP.
In this lesson we will password protect a directory using .htaccess. This can be extremely useful for controlling access to sensitive or restricted areas such as member or administration directories.
In this short lesson I will show you how to use your htaccess file to force your website to load in secure mode. In other words, make a visit to http://coding.academy be forced to https://coding.academy