SSI : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

SSI
SSI (Server Side Includes). A technique that makes it much easier to maintain boilerplate text that appears in many different web pages. Essentially the difference is in the assumptions that each system makes as to what the root level is. On the UNIX system if you use file= it starts at the root of the system’s filesystem, in NT it starts at the root of the logical server’s filesystem. On Novell, it starts at the current directory.

Here is a list of things you might say in SSI, and what they would generate when used in this document, using the Novell Server my ISP (Internet Service Provider) has. If you are viewing this document locally, you won’t see any effects. You need to be viewing through an SSI server to see the orange SSI-generated material.

SSI Embedded Command Visible Effect Purpose
<!--#COUNT FILE=jgloss.cnt--> [an error occurred while processing this directive] hit counter, stored in filename specified. It does not directly measure hits to the jgloss.* files, rather it is incremented every time it is displayed. To work properly you must display the count in the html file being measured and nowhere else. This does not work on Apache. Instead you need something like this:
<!--#exec cgi="/perl/count.pl"-->
You have to write a perl count.pl script for your server.
<!--#CONFIG TIMEFMT=%Y-%m-%d %H:%M--> configures the format of SSI timestamps to ISO (International Standards Organisation) standard yyyy-mm-dd hh:mm
<!--#FLASTMOD FILE=jgloss.html--> 2018-05-07 00:10 display date given file was last modified. The given file reference must not start with ..
<!--#FSIZE FILE=jglosss.html--> 32K display the size of the given file.
<!--#ECHO VAR=DOCUMENT_NAME--> ssi.html The document file name
<!--#ECHO VAR=DOCUMENT_URI--> /jgloss/ssi.html The document Universal Resource Identifier (the path)
<!--#ECHO VAR=DATE_LOCAL--> 2024-04-19 04:24 The current date and time
<!--#ECHO VAR=DATE_GMT--> 2024-04-19 11:24 The current Greenwich Mean Time date and time
<!--#ECHO VAR=LAST_MODIFIED--> 2017-03-12 03:37 The date and time the document was last modified.
<!--#ECHO VAR=REMOTE_ADDR--> 18.118.137.243 The IP (Internet Protocol) address of the user requesting the document
<!--#ECHO VAR=SERVER_SOFTWARE--> Apache/2.4.34 (Ubuntu) OpenSSL/1.1.1 mod_apreq2-20090110/2.8.0 mod_perl/2.0.10 Perl/v5.26.2 The name and version of the Web server software
<!--#ECHO VAR=SERVER_NAME--> www.mindprod.com The local hostname of the Web Server
<!--#ECHO VAR=SERVER_PORT--> 443 The TCP (Transmission Control Protocol) port on which the Web server is listening for HTTP (Hypertext Transfer Protocol) requests (the default is 80)
<!--#ECHO VAR=REMOTE_HOST--> (none) The hostname of the computer requesting the document. Needs slow reverse DNS (Domain Name Service), so usually turned off.
<!--#ECHO VAR=AUTH_TYPE--> (none) The method used to authenticate user requests.
<!--#ECHO VAR=HTTP_USER_AGENT--> Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) The name of the browser requesting the document

This page is posted
on the web at:

http://mindprod.com/jgloss/ssi.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\ssi.html
Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[18.118.137.243]
You are visitor number