Running on Ubuntu 14.04 with Apache on an AWS EC2 server.
I recently renewed my LetsEncrypt certificate for my bootstrap-it.com site. The big change with the renewal was that Let’s Encrypt automatically saved my certificates into /etc/letsencrypt/live/ rather than the /home/… directory I’d kept them in until then. So I updated Apache’s /etc/apache2/sites-available/default-ssl.conf to point to the new certs.
Everything seemed to go well. But now I just noticed that I’m getting all kinds of apache errors like this:
[:error] [pid 4963] [client 126.96.36.199:8665] script ‘/var/www/html/wp-main.php’ not found or unable to stat
[:error] [pid 4400] [client 188.8.131.52:17236] script ‘/var/www/html/sqlibak.php’ not found or unable to stat
[:error] [pid 5470] [client 184.108.40.206:18207] script ‘/var/www/html/functions.php’ not found or unable to stat
Those files are all either in /var/www/html/bootstrapit/blog or /var/www/html/bootstrapit/blog/wp-includes…Apache is obviously looking in the wrong place. How do I correct that?
One more thing, when I try to load a WordPress blog post in my browser, inline images don’t load, and I get this error:
Mixed Content: The page at ‘https://bootstrap-it.com/blog/index.php/2016/10/26/linux-inodes/’ was loaded over HTTPS, but requested an insecure image ‘http://bootstrap-it.com/blog/wp-content/uploads/linux-inode.png’. This content should also be served over HTTPS.
https://www.bootstrap-it.com/blog/wp-content/uploads/linux-inode.png Failed to load resource: net::ERR_INSECURE_RESPONSE