docs.roxen.comBack to normal mode
DocsRoxenWebServer 6.1Web Developer ManualSSI Tags
Copyright © 2021, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com

<!--#exec -->

Provided by module: Tags: SSI support

Executes a CGI script or shell command. This command has security implications and therefore, might not be available on all web sites.


Attributes

cgi="URL"

Path to the CGI script URL encoded. That is, a character can be quoted by % followed by its hex value. The CGI script is given the PATH_INFO and QUERY_STRING of the original request from the client. The variables available in <!--#echo> will be available to the script in addition to the standard CGI environment. If the script returns a Location header, then this will be translated into an HTML anchor.


cmd="path"

The server will execute the command using /bin/sh. The variables available in <!--#echo> will be available to the script.