Permit .html Server-Side Includes

On CeraNet's hosting plans, .shtml files are allowed in server-side includes by default.  However, if you wish to use .html server-side includes then you will need to modify the web.config file in the wwwroot folder to include the following...

<handlers>
     <addname="SSINC-html"
          path="*.html"
          verb="*"
          modules="ServerSideIncludeModule"
          resourceType="File"
          requireAccess="Script"/>
</handlers>


  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Force HTTPS for Website Content (SSL)

This article shows you how to force visitors to use https when visiting your website. Edit the...