Turning off pagespeed on Lightsail Bitnami – because images still not showing

So flushing the cache is great for the images to show again, but not a long-term fix. I’m having to do it every couple of days. So I’m turning pagespeed off entirely. As someone new to keyboard access to the server config I had to go to a couple of places to get the info. That’s why it’s here in one space!

There’s a serverside file that needs to be edited. You can use nano to do this:

sudo nano /opt/bitnami/apache2/conf/httpd.conf

This opens up the configuration file. Then scroll (using cursors) to the point that you find these references:

  Include conf/pagespeed.conf
  Include conf/pagespeed_libraries.conf

Comment them out with #

  #Include conf/pagespeed.conf
  #Include conf/pagespeed_libraries.conf

Then press X to leave the editor. Press Y to confirm and then enter. Finally restart apache:

sudo /opt/bitnami/ctlscript.sh restart apache

Job done.

You may also like...

Leave a Reply

Your email address will not be published.