|
Server Side Includes - Wikipedia, the free encyclopedia
Server Side Includes (SSI) is a simple interpreted server-side scripting language used almost exclusively for the web. The most frequent use of SSI is to include the contents of one or more files int...
en.wikipedia.org/wiki/Server_Side_Includes |
|
|
Within-Reason Tutorial- .shtml; Shtml is so easy, and yet so effiecient. Shtml is like frames within the html code. You have the top of the page, such as links, a menubar, or links. Save all the text in the top of the page as "top.html". Then we come to the content of the page.
|
|
|
A Web file with the suffix of ".shtml" (rather than the usual ".htm") indicates a file that includes some information that will be added "on the fly" by the server before it is sent to you. A typical use is to include a "Last modified" date at the bottom of the page.
|
|
|
In most systems, the .shtml file extension identifies an HTML page that contains Server Side Include (SSI) directives (include another file, show date last modified, and so on).
|
|
|
One way to do this is to use a special file extension. .shtml is often used, and this can be configured with this directive: ... The AddHandler directive tells Apache to treat every .shtml file as one that can include SSI commands. The AddType directive makes such that the resulting content is marked as HTML so that...
|
|
|
And here is a [.shtml] file included: ... raw SHTML ... The source of this page is [here], actually a symbolic-link to the shtml source of this page.
|
Copyright © 2010, Dictionary.com, LLC. All rights reserved.