Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Server Side Includes
mbjennings
Is there a setting you have to configure in Teamsite to be able to use server side includes. I am trying the follwoing code:
<--#include file="footer.html"-->
If I save the main file as .shtml in a regular server it works fine. But It doesn't matter what I call it in teamsite, it still does not serve the page correctly. It leaves out the included page.
Find more posts tagged with
Comments
Migrateduser
are you getting an error or is the SSI just not being processed at all?
If the server side include is not being processed then you probably need to turn on server parsing in your web server (consult your http server docs for this).
If you are getting parsing errors (server could not find the file) then maybe you don't have the TeamSite redirector module installed in your customer web server.
You are talking about previews, right? not something else?
MattP
You can also use <iw_include file="your file path"></iw_include>
This means the includes are processed at time of generation in teamsite, not on the fly by the web server. The upside to this, is you have less processing on the web server, and then, in theory, faster response times. The downside is, if you make a change to the included file, you need to regenerate every file that uses it.
Matt
Matthew Petitjean
BOC Group
Murray Hill, NJ 07974 USA