Implement authentication
Enable/disable directory listing
Password authentication
Create password protected directory
sudo htpasswd -c /etc/apache2/.htpasswd username
Creates or updates password file for basic authentication.
Create new password file
Add another user
sudo htpasswd /etc/apache2/.htpasswd anotheruser
Generate self-signed SSL certificate
Create virtual host configuration
Add security headers to Apache