Force SSL/HTTPS on Apache2 within VirtualHosts

At the end of this brief tutorial, you should be able to redirect all non-https…

Apache’s “Cannot Serve Directory… No matching DirectoryIndex”

Edit /etc/apache2/mods-enabled/dir.conf and add index.php (or your actual directory index file). This should fix an error…

Setup apache2 vhosts

Setting up apache2 vhosts is a continuation from setting up a lamp stack on ubuntu…

Password Protect with htpasswd without htaccess (apache)

In this post, we’ll quickly go over password protecting your site with htpasswd and apache2,…