Create password protected directory
Allow .htaccess overrides
Reload Apache configuration
Enable/disable directory listing
sudo nano /etc/apache2/mods-available/autoindex.conf
Configures whether directories without index files show their contents.
Configure directory indexing
Test Apache configuration syntax
List enabled virtual hosts
Enable a virtual host