Server Side Include (SSI) not functioning at web server

Can’t have your Server Side Include (SSI) code working on your web server? Stay cool, there’s no need to panic. In most of the case, such problem is cause by improper setting on your apache handlers.

Simple steps to fix your SSI function

Now, to solve the problem:

  1. Login to your cPanel account.
  2. Click on the icon Apache Handler.
  3. Check if the desired file extension is included in the server-parse handler.
  4. If haven’t, add the desired file extension, and it should solve the problems.
  5. Re-visit your website and press reload, the SSI function should be working fine now.

Graphic References:

Apache Handler
Click to get into Apache Handlers setting.


Check if your file extension is included in the server-parsed handler or not.


Side Note: What does Apache do?

Apache handlers allow you to control what Apache will do with certain file types.

When Apache sees a file, it has an action built in for that file type, and will perform that action. If you wish Apache to do a different action, you will need to make a handler to tell Apache to perform that action. For example, if you use a file type that requires a special service to run it, such as a file with server side includes that is not named with a .shtml extension, you need to tell Apache to treat these files differently.