Frequently Ask Questions
SSI (Server Side Includes) Questions
- It appears that none of my SSI tags are being parsed by the server.
- How can I include contents of a text file into HTML pages?
- How can I include output of a CGI into HTML pages?
- How can I include current date into HTML pages?
It appears that none of my SSI tags are being parsed by the server.
Due to performance considerations, our web servers are configured
to parse SSI tags in files which end in .shtm or .shtml Therefore,
to enable SSI tag parsing, you need to use either .shtm or .shtml file extension.
contents | top
How can I include contents of a text file into HTML pages?
The following tag will include menubar.htm file located in yourdomain.com/menubar.htm
<!--#include virtual="/menubar.htm">
contents | top
How can I include output of a CGI into HTML pages?
The following tag will include output from counter.cgi CGI located in yourdomain.com/cgi-bin/counter.cgi
<!--#include virtual="/cgi-bin/counter.cgi">
contents | top
How can I include current date into HTML pages?
The following tag will include current date:
<!--#echo var="DATE_LOCAL"-->
contents | top
|