• This library is used in conjunction with an HTTP server supporting SCGI, such as Apache HTTP Server with the mod_scgi module.
  • No-dependency on programming languages or platforms. SCGI. Simple Common Gateway Interface. Similar as FastCGI.
  • The Simple Common Gateway Interface (SCGI) is a protocol for applications to interface with HTTP servers, as an alternative to the CGI protocol.
  • Since nginx comes with a nice SCGI module we need only to write a little piece of configuration in nginx.conf (usually under /etc/nginx).
  • Yayın zamanı: 5 saat önce
    mod_proxy_scgi does the same as mod_cgi in this regard, except that you can turn off the feature or specify the use of a header other than Location.
  • IIUC, the SCGI protocol [L2 ] forbids form variables named CONTENT_LENGTH and SCGI, as it forbids duplicate header names and those two are obligatory.
  • The ngx_http_scgi_module module allows passing requests to an SCGI server. Example Configuration. location / { include scgi_params; scgi_pass localhost:9000
  • root /data/www; include /etc/nginx/scgi_params; scgi_param PATH_INFO $path_info; scgi_pass unix:/tmp/myservice.sock; } } } Important.
    • Issues:
      0
  • This article shows how to build faster Web applications using an alternative to CGI called SCGI (Simple Common Gateway Interface).