Server Side Include (SSI) Not Functioning on Apache? Simple Fix

Article written by:
  • Hosting Guides
  • Updated: Oct 16, 2017

Can’t have your Server Side Include (SSI) code working on your web server? 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.

Article by Jerry Low

Geek dad, SEO data junkie, investor, and founder of Web Hosting Secret Revealed. Jerry has been building Internet assets and making money online since 2004. He loves mindless doodling and trying new food.

Get connected: