Share
VIDEOS 1 TO 50
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
CGI: What is CGI? | lynda.com
CGI: What is CGI? | lynda.com
Published: 2012/10/02
Channel: LinkedIn Learning Solutions
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
Python Advanced Tutorial 7 - CGI Programming
Python Advanced Tutorial 7 - CGI Programming
Published: 2014/06/05
Channel: DrapsTV
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
Learning Apache http server - Executing CGI scripts
Learning Apache http server - Executing CGI scripts
Published: 2013/01/16
Channel: theurbanpenguin
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
Simple CGI program
Simple CGI program
Published: 2014/05/12
Channel: Jonathan Geisler
Create first cgi script
Create first cgi script
Published: 2016/04/27
Channel: Greg Reichelt
Python Web Programming using CGI
Python Web Programming using CGI
Published: 2017/06/07
Channel: NetSecProf
Apache CGI BIN C programing tutorial
Apache CGI BIN C programing tutorial
Published: 2017/05/04
Channel: Kris Occhipinti
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
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
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
Python CGI Scripting
Python CGI Scripting
Published: 2015/07/07
Channel: Amit Sharma
Python3 Advanced Tutorial 7 - CGI Programming
Python3 Advanced Tutorial 7 - CGI Programming
Published: 2015/06/25
Channel: DrapsTV
What Is CGI And Perl?
What Is CGI And Perl?
Published: 2017/11/14
Channel: Wungat Wen
joburg cgi simple test
joburg cgi simple test
Published: 2014/03/04
Channel: Beni Don
HITCON CTF 2014 - Simple Diagnostic CGI (SSRF to Remote Code Execution)
HITCON CTF 2014 - Simple Diagnostic CGI (SSRF to Remote Code Execution)
Published: 2014/08/19
Channel: Pichaya Morimoto
hollodotme/fast-cgi-client examples
hollodotme/fast-cgi-client examples
Published: 2017/04/15
Channel: Holger Woltersdorf
What Is The CGI?
What Is The CGI?
Published: 2017/09/29
Channel: Ask Question II
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
What Is Meant By CGI Programming?
What Is Meant By CGI Programming?
Published: 2017/11/14
Channel: Wungat Wen
Fundamentals of Web Design | Vol. 7 - Web Forms & CGI
Fundamentals of Web Design | Vol. 7 - Web Forms & CGI
Published: 2013/02/21
Channel: Tarena Ruff
CGI WITH PERL TUTORIAL
CGI WITH PERL TUTORIAL
Published: 2014/04/29
Channel: MEGA BONE
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
Pract 12 : Configure Apache web server to support CGI on RHEL 6
Pract 12 : Configure Apache web server to support CGI on RHEL 6
Published: 2017/09/01
Channel: MSD Gurukul
Run Cgi Script in Python Using Windows
Run Cgi Script in Python Using Windows
Published: 2016/08/09
Channel: Veerababu Naraharasetti
Sending Data to a CGI Script Using a Hyperlink
Sending Data to a CGI Script Using a Hyperlink
Published: 2012/01/11
Channel: profgustin
Led controlling via CGI script on Raspberry Pi
Led controlling via CGI script on Raspberry Pi
Published: 2015/09/12
Channel: kro
Python CGI Scripting
Python CGI Scripting
Published: 2016/10/06
Channel: Amit Sharma
Perl and HTML - English
Perl and HTML - English
Published: 2016/02/02
Channel: Spoken-Tutorial IIT Bombay
CGI programming example using C laguage
CGI programming example using C laguage
Published: 2016/11/02
Channel: rajat aswal
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
Arduino and CGI
Arduino and CGI
Published: 2010/02/21
Channel: Aaron Blakely
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
Learn Perl CGi Part 2
Learn Perl CGi Part 2
Published: 2008/01/15
Channel: 1dollarsecrets
What Is The Full Form Of CGI?
What Is The Full Form Of CGI?
Published: 2017/07/23
Channel: sparky trend
Perl CGI script
Perl CGI script
Published: 2015/07/22
Channel: Ask Franklyn
What Is CGI In PHP?
What Is CGI In PHP?
Published: 2017/11/14
Channel: Wungat Wen
Why Perl is Used for CGI
Why Perl is Used for CGI
Published: 2014/07/07
Channel: Techy Help
What Is The CGI?
What Is The CGI?
Published: 2017/11/14
Channel: Xerioc Xuj
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
6 Advanced Java Servlet Tutorial | What is difference between SERVLET and CGI | Mr. Nataraj
6 Advanced Java Servlet Tutorial | What is difference between SERVLET and CGI | Mr. Nataraj
Published: 2017/10/08
Channel: tech fort
CGI and LUA Scripts Hello World
CGI and LUA Scripts Hello World
Published: 2017/06/18
Channel: Kris Occhipinti
Writing A Form For CGI PT1 9 8
Writing A Form For CGI PT1 9 8
Published: 2012/09/18
Channel: PrasadBadana
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