Search code examples
htmlapachewebserver-side-includes

What is the recommended way to include a standard header/footer on a static html website?


I have a website (Apache) that is all static html and I want to include certain content across all pages, for example a footer. Are good 'ol server side includes (SSI) still the way to go?


Solution

  • Yes, that will be the simplest solution in this case, just follow the security tips for SSI at http://httpd.apache.org/docs/current/misc/security_tips.html