Neat stuff that you can do with SSI
Access the special SSI-only environment variables.
Time and date DATE_LOCAL: Thursday, 21-Nov-2024 06:32:52 MST
This document name DOCUMENT_NAME: ssi.shtml
Its URL DOCUMENT_URI: /capp386/cgi_html/ssi.shtml
It was last modified on LAST_MODIFIED: Sunday, 14-May-2000 23:28:48 MDT
Access all the regular environment variables.
This server is SERVER_NAME: davidwills.us
The server software is SERVER_SOFTWARE: Apache
This server protocol is SERVER_PROTOCOL: HTTP/2.0
This server port is SERVER_PORT: 443
You are from REMOTE_HOST: (none)
You are from REMOTE_ADDR: 3.145.61.199
You are REMOTE_USER: (none)
Request method REQUEST_METHOD: GET
Query string QUERY_STRING:
Document root DOCUMENT_ROOT: /home2/davidwi3/public_html
and all the others...
File statistics. use virtual for URLs relative to document root.
Use file for paths.
Its size: 2.2K
Last modified on: Sunday, 14-May-2000 23:28:48 MDT
Size of ice_cream_guestbook.html: [an error occurred while processing this directive]
Last modified on: [an error occurred while processing this directive]
Execute a program on the server. Incorporate its output here.
hello from the output of the ssi_ex.exe (perl) program
it just outputs these two lines
Execute a CGI program. Include its output
You are visitor
[an error occurred while processing this directive]
OMNI 1.1 does not support exec :(