If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:CGI

From BoxMatrix


BoxMatrix >> Lexicon >> Network-Protocols >> CGI @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Computer FRITZ I18N Telephony Smarthome Internet Protocols Multimedia Formats Hardware Software Research

Protocol

Goto:   FRITZ!OS   -   Commands  -  SMW-Browser

Details

CGI (Common Gateway Interface) is a protocol used to execute a program responding to a HTTP / HTTPS request.

It is widely used by webservers to create dynamic (computed) content, mainly in conjunction with scripting languages.
However, any type of executable can be launched as a CGI, if it supports the protocol.

The protocol defines a set of environment variables which are passed to the executable.
The output of the executable is the response to the HTTP / HTTPS request. A minimalistic CGI shell script:

#!/bin/sh

echo "Content-Type: text/plain"  # HTTP header defining the MIME type of the content
echo                             # empty line between HTTP header and content
echo "Hello world"               # content

FRITZ!OS

All pages of the Webinterface are dynamical content and use CGI, initially served by websrv and today by ctlmgr.

On each HTTP / HTTPS request the CGI-Environment is created and passed to the launched CGI command.

Initially the webcm CGI commmand was used for preprocessing HTML-Files and SSI-Files which contain SSI-Directives to
access UI-Modules.

Today the luacgi CGI commmand is used to interpret Lua-Scripts which access UI-Modules through Lua-Libraries.

Commands

This is a subset of the AVM-Commands section, filtered for CGI commands:

Daily updated index of all CGI commands found scanning Firmware-Probes . Last update: 2024-11-15 05:54 GMT.
The label (avmcmd) in the Command column shows there are other objects in this wiki using this name.
The Mod column shows the amount of models using the respective command. Click the column header to sort by this number.
You can hover or click a possible Link in the Type column to see the target of that link.

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

C