Enable Apache mod_headers and mod_expires modules

Un-managed servers based on Apache have option to enable or disable modules accordingly. mod_expires and mod-headers are used for caching.

If you have already installed Apache on un-managed server, you can enable or disable Apache modules using SSH login.

Please note that anything you change in your server, a restart is needed to make that change effective.

Now login to server using SSH console and continue below steps:

To enable mod_headers:

To enable mod_expires:

after completing the server update, you need to restart Apache server to make these changes effective. Enter below line in your SSH console to restart Apache.

Related:  Compare Linux Server Vs Windows Server for web hosting

Or else reboot your server by following code in SSH:

You may also like...

1 Response

  1. lionel says:

    thank you for this tip

Leave a Reply

Your email address will not be published. Required fields are marked *