What is cgi bin? Print

  • 396

CGI stands for Common Gateway Interface, it’s the mechanism that the web server uses to pass requests received by the server off to any script interpreter (e.g PHP, Perl, Python, Ruby, etc).

Here is where the CGI fits into the request process:

  1. The web browser sends a request off to the web server
  2. The web server received the request
  3. The web server sends the request off to the CGI program (e.g PHP, Perl, Python, Ruby, etc)
  4. The program passes the output back to the web server
  5. The web server passes the output back to the web browser

Was this answer helpful?

« Back