Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Server Side Includes
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Design == As a simple programming language, SSI supports only one [[Data type|type]]: text. Its [[control flow]] is rather simple, choice is supported, but [[Control_flow#Loops|loops]] are not natively supported and can only be done by recursion using include or using [[URL redirection|HTTP redirect]].{{efn|Nevertheless found in some implementations, including Jigsaw.}} The simple design of the language makes it easier to learn and use than most server-side scripting languages, while complicated server-side processing is often done with [[Server-side scripting#Languages|one of the more feature-rich programming languages]]. SSI is [[Turing completeness|Turing complete]].<ref>{{cite web|url=http://www.janschejbal.de/projekte/ssituring/ |title=Server Side Includes Turing machine, Jan Schejbal. |publisher=Janschejbal.de |access-date=2012-12-06}}</ref> SSI has a simple syntax: <code><!--#directive parameter=value parameter=value --></code>. Directives are placed in HTML comments so that if SSI is not enabled, users will not see the SSI directives on the page, unless they look at its source. Note that the syntax does not allow spaces between the leading "<!--" and the directive. Apache tutorial on SSI stipulates the format requires a space character before the "-->" that closes the element.<ref>{{cite web|url=http://httpd.apache.org/docs/current/howto/ssi.html#basic|title=Basic SSI Directives and Syntax|access-date=2018-02-09|date=2018-02-09}}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)