Share
VIDEOS 1 TO 50
CGI: What is CGI? | lynda.com
CGI: What is CGI? | lynda.com
Published: 2012/10/02
Channel: LinkedIn Learning Solutions
Use C++ as a Server Side Language (CGI Common Gateway Interface)
Use C++ as a Server Side Language (CGI Common Gateway Interface)
Published: 2016/12/22
Channel: RobotZer0
Python 101 - CGI
Python 101 - CGI
Published: 2014/01/27
Channel: howCode
Java Advanced 1- CGI architecture for beginners
Java Advanced 1- CGI architecture for beginners
Published: 2012/06/19
Channel: Shashi Shekhar
Learning Apache http server - Executing CGI scripts
Learning Apache http server - Executing CGI scripts
Published: 2013/01/16
Channel: theurbanpenguin
Python Advanced Tutorial 7 - CGI Programming
Python Advanced Tutorial 7 - CGI Programming
Published: 2014/06/05
Channel: DrapsTV
Create first cgi script
Create first cgi script
Published: 2016/04/27
Channel: Greg Reichelt
Common Gateway Interface
Common Gateway Interface
Published: 2014/08/17
Channel: Audiopedia
Lecture -19 CGI Scripts
Lecture -19 CGI Scripts
Published: 2008/08/07
Channel: nptelhrd
Common Gateway Interface
Common Gateway Interface
Published: 2015/08/21
Channel: Volodya Mozhenkov
Difference between CGI and Servlet
Difference between CGI and Servlet
Published: 2016/09/18
Channel: Difference Between
CGI Programming in C Tutorial using Raspberry PI with Linux
CGI Programming in C Tutorial using Raspberry PI with Linux
Published: 2015/09/30
Channel: ShellWaveX
Python CGI Scripting
Python CGI Scripting
Published: 2015/07/07
Channel: Amit Sharma
Led controlling via CGI script on Raspberry Pi
Led controlling via CGI script on Raspberry Pi
Published: 2015/09/12
Channel: kro
CGI Programming Demostration
CGI Programming Demostration
Published: 2015/10/24
Channel: Connor Lemmon - Entertainment
Python Web Programming using CGI
Python Web Programming using CGI
Published: 2017/06/07
Channel: NetSecProf
SIMPLE CGI BOX EXPLORE
SIMPLE CGI BOX EXPLORE
Published: 2017/06/11
Channel: Psybient Primate
Simple CGI program
Simple CGI program
Published: 2014/05/12
Channel: Jonathan Geisler
Arduino and CGI
Arduino and CGI
Published: 2010/02/21
Channel: Aaron Blakely
Python3 Advanced Tutorial 7 - CGI Programming
Python3 Advanced Tutorial 7 - CGI Programming
Published: 2015/06/25
Channel: DrapsTV
Advantage of Servlet over Cgi Technology | Servlet Tutorial  | javatutoronline.com
Advantage of Servlet over Cgi Technology | Servlet Tutorial | javatutoronline.com
Published: 2014/02/28
Channel: Chinmay Patel
Printing HTML Using CGI
Printing HTML Using CGI
Published: 2012/01/11
Channel: profgustin
Sending Data to a CGI Script Using a Hyperlink
Sending Data to a CGI Script Using a Hyperlink
Published: 2012/01/11
Channel: profgustin
Introduction, Advantages of Servlet Over CGI, Uses of Java Servlet
Introduction, Advantages of Servlet Over CGI, Uses of Java Servlet
Published: 2017/02/05
Channel: Easy Engineering Classes
CGI and LUA Scripts Hello World
CGI and LUA Scripts Hello World
Published: 2017/06/18
Channel: Kris Occhipinti
09 10 Writing A Form For CGI PT3 | C Tutorial
09 10 Writing A Form For CGI PT3 | C Tutorial
Published: 2015/02/20
Channel: Free Engineering Lectures
Server Side Script Setup - CGI Webserver with Python - Linux Tutorials
Server Side Script Setup - CGI Webserver with Python - Linux Tutorials
Published: 2014/12/18
Channel: Kris Occhipinti
Perl CGI script
Perl CGI script
Published: 2015/07/22
Channel: Ask Franklyn
Python CGI Scripting
Python CGI Scripting
Published: 2016/10/06
Channel: Amit Sharma
Python CGI Server  Made simple
Python CGI Server Made simple
Published: 2014/01/13
Channel: george boole
What Is The CGI?
What Is The CGI?
Published: 2017/08/11
Channel: Aile Aile
Tugas Besar Mata Kuliah CGI (Common Gateway Interface) tentang Mosque Controlling System
Tugas Besar Mata Kuliah CGI (Common Gateway Interface) tentang Mosque Controlling System
Published: 2014/07/06
Channel: Muhammad Syarif
joburg cgi simple test
joburg cgi simple test
Published: 2014/03/04
Channel: Beni Don
Why Perl is Used for CGI
Why Perl is Used for CGI
Published: 2014/07/07
Channel: Techy Help
CGI WITH PERL TUTORIAL
CGI WITH PERL TUTORIAL
Published: 2014/04/29
Channel: MEGA BONE
CGI programming example using C laguage
CGI programming example using C laguage
Published: 2016/11/02
Channel: rajat aswal
Python Updates Sqlite3 dbase via CGI, Web Page Iface
Python Updates Sqlite3 dbase via CGI, Web Page Iface
Published: 2014/01/23
Channel: george boole
Perl and HTML - English
Perl and HTML - English
Published: 2016/02/02
Channel: Spoken-Tutorial IIT Bombay
Apache CGI BIN C programing tutorial
Apache CGI BIN C programing tutorial
Published: 2017/05/04
Channel: Kris Occhipinti
What Is The Full Form Of CGI?
What Is The Full Form Of CGI?
Published: 2017/07/23
Channel: sparky trend
07 03 forms cgi
07 03 forms cgi
Published: 2013/08/15
Channel: OurTechnoGeek
22. Connecting the Contact Us Form to a CGI script
22. Connecting the Contact Us Form to a CGI script
Published: 2013/03/25
Channel: Ahmed Sami
Python CGI Program Connection Xampp Windows Simple test program in apache configuration
Python CGI Program Connection Xampp Windows Simple test program in apache configuration
Published: 2017/09/26
Channel: current update tricks
Running Python CGI Scripts on IIS
Running Python CGI Scripts on IIS
Published: 2011/11/20
Channel: Charlie Calvert
Simple CGI Workflow - Episodio 01
Simple CGI Workflow - Episodio 01
Published: 2014/02/16
Channel: TZero - VFX & Compositing
Ruby CGI
Ruby CGI
Published: 2017/01/10
Channel: mcglonelevi
CGI Scripting in Perl and Python: Part 06
CGI Scripting in Perl and Python: Part 06
Published: 2011/05/16
Channel: vkedco
How to Run Perl CGI Programs on Windows Using Wamp Server : 2015
How to Run Perl CGI Programs on Windows Using Wamp Server : 2015
Published: 2015/01/24
Channel: 64-bit Programmer
How to Configure Apache2 to use Python as CGI scripts
How to Configure Apache2 to use Python as CGI scripts
Published: 2016/12/15
Channel: Quick Notepad Tutorial
httpd Busybox Server Side Scripts CGI BASH Linux Web Server Tutorial #2
httpd Busybox Server Side Scripts CGI BASH Linux Web Server Tutorial #2
Published: 2014/11/19
Channel: Kris Occhipinti
NEXT
GO TO RESULTS [51 .. 100]

WIKIPEDIA ARTICLE

From Wikipedia, the free encyclopedia
Jump to: navigation, search

The Simple Common Gateway Interface (SCGI) is a protocol for applications to interface with HTTP servers, as an alternative to the CGI protocol. It is similar to FastCGI but is designed to be easier to implement and crucially, permits CGI operations where the CGI operation has significant latency[clarification needed] (e.g. contacting an external database).

Specification[edit]

The client connects to a SCGI server over a reliable stream protocol allowing transmission of 8-bit bytes. The client begins by sending a request. When the SCGI server sees the end of the request it sends back a response and closes the connection. The format of the response is not specified by this protocol.[note 1]

Request format[edit]

A request consists of a number of headers and a body. The format of the headers is:

headers ::= header*
header ::= name NUL value NUL
name ::= notnull+
value ::= notnull*
notnull ::= <01> | <02> | <03> | … | <ff>
NUL = <00>

Duplicate names are not allowed in the headers. The first header must have the name "CONTENT_LENGTH" and a value that is the length of the body in decimal. The "CONTENT_LENGTH" header must always be present, even if its value is "0". There must also always be a header with the name "SCGI" and a value of "1". In order to facilitate the transition from CGI, standard CGI environment variables should be provided as SCGI headers.

The headers are sent to the server application encoded as a netstring. The body is sent following the headers and its length is specified by the "CONTENT_LENGTH" header.

Example[edit]

The web server (an SCGI client) opens a connection and sends the concatenation of the following strings:

"70:"
    "CONTENT_LENGTH" <00> "56" <00>
    "SCGI" <00> "1" <00>
    "REQUEST_METHOD" <00> "POST" <00>
    "REQUEST_URI" <00> "/deepthought" <00>
","
"What is the answer to life, the Universe and everything?"

The web application (SCGI server) sends the following response:

"Status: 200 OK" <0d 0a>
"Content-Type: text/plain" <0d 0a>
"" <0d 0a>
"42"

The SCGI server then closes the connection.

Web servers that implement SCGI[edit]

Language bindings for the SCGI API[edit]

Notes[edit]

1.^ The specification document was placed in the public domain by Neil Schemenauer on 12 January 2006.

See also[edit]

  • Rack - Ruby web server interface
  • PSGI - Perl Web Server Gateway Interface
  • WSGI - Web Server Gateway Interface

External links[edit]

Disclaimer

None of the audio/visual content is hosted on this site. All media is embedded from other sites such as GoogleVideo, Wikipedia, YouTube etc. Therefore, this site has no control over the copyright issues of the streaming media.

All issues concerning copyright violations should be aimed at the sites hosting the material. This site does not host any of the streaming media and the owner has not uploaded any of the material to the video hosting servers. Anyone can find the same content on Google Video or YouTube by themselves.

The owner of this site cannot know which documentaries are in public domain, which has been uploaded to e.g. YouTube by the owner and which has been uploaded without permission. The copyright owner must contact the source if he wants his material off the Internet completely.

Powered by YouTube
Wikipedia content is licensed under the GFDL and (CC) license