亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? cgi.htm

?? goahead webserver源碼
?? HTM
字號:
<html><head><!- Copyright (c) Go Ahead Software Inc., 1995-2000. All Rights Reserved. -><title>Standard CGI Implementation</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><link rel="stylesheet" href="../style/normal_ws.css"></head><body bgcolor="#FFFFFF"><TABLE WIDTH="550" BORDER="0" BORDERCOLOR="#FFFFFF" BGCOLOR="#FFFFFF"><TR BORDERCOLOR="#FFFFFF"><TD><H2>Standard CGI Implementation<A NAME="CGI"></A> </H2><P>The Common Gateway Interface (CGI) is a standard for interfacing external applications with information servers, such as HTTP or Web servers. A plain HTML document retrieved by  a Web daemon   is a static  text file that doesn't change. A CGI program, on the other hand, is executed in real-time and able to  output dynamic content.</P><P> CGI script are written in any language that can read STDIN, write to STDOUT, and read environment variables. This means that virtually any programming language can be used, including C, Perl, or even shell scripting. </P><P><B>Note:</B> this WebServer documentation does not  provide instructions  on how to  write  CGI scripts for processing Web forms; however,    numerous books and Websites are readily available that do an excellent job in covering  this basic  information. </P><P>In  WebServer  2.0, GoForms CGI processing was accomplished by instructing the webs module to treat all URLs beginning with &quot;/goform&quot;  as  <A HREF="goforms.htm">GoForms</A>.   Using a similar mechanism, WebServer 2.1 has   a new "handler" that is  called when URL requests are received for URLs beginning with <BR>&quot;/cgi-bin&quot;.  CGI executable processes must be located in the WebServer's  <FONT FACE="Courier New, Courier, mono">cgi-bin</FONT> subdirectory.  Separate processes will be created for each CGI request.</P><H3>CGI for VxWorks<A NAME="cgi"></A></H3><P>CGI's standard implementation requires that standalone processes be executed and  their outputs   returned to the browser via the WebServer.  In VxWorks, processes are not  implemented, but rather tasks are.  In addition to  understanding the mechanisms used in the implementation of VxWorks CGI tasks, developers of CGI processes must  be aware of the differences between processes on other operating systems  and tasks on VxWorks.</P><OL><OL><LI>VxWorks tasks can be spawned using code already loaded in memory.  On VxWorks systems with no file system, the CGI task code can be included in the OS image and is not necessarily contained in a file.</LI><LI>If the CGI code is contained in a file, a browser request  for it will cause it to be loaded into memory prior to its execution.  It will be unloaded and reloaded each time it is invoked, which allows the  upgrading to a new version between invocation.</LI><LI>The  VxWorks taskSpawn API is used to spawn the CGI  task.</LI><LI>An entry point symbol name must be used to spawn the task.  The request for the CGI process can define this entry point name in the request by including the query string keyword=value pair &quot;cgientry=symbolname&quot;,  where symbolname is a function name in the CGI code that is to be executed.  If cgientry is not defined in this way, a default entry name will be searched for in the loaded code.  The default name is &quot;basename_cgientry&quot;,  where basename is the name of the requested CGI process minus any file extension or path info (e.g.,  if the request is for &quot;cgi-bin/cgitest.out&quot;, the default entry point symbol name will be &quot;cgitest_cgientry&quot;).  If the entry point symbol name is not found or if the requested module cannot be loaded, the CGI request will fail.</LI><LI>The priority of the spawned task will be the same priority at which    WebServer is running. </LI><LI>The stack size of the spawned task is 20,000 bytes.</LI><LI>The task name will be the same as the entry point name.</LI><LI>The standard CGI environment variables are copied to the task environment.  They can be retrieved/modified by the getenv/putenv APIs.</LI><LI>Command line arguments (if any) are passed to the user's entry point via an (int argc, char **argv) standard convention, where argc is the number of arguments and argv is an array of strings.</LI><LI>As   in standard CGI processes, the VxWorks CGI task can retrieve additional POST data from standard input device and must write any output to be returned to the client to the standard output device.  These devices are actually temporary files where  stdin and stdout have been redirected.</LI><LI>User-defined CGI task codes should always be terminated with  a  return rather than an  exit API. This allows environment space and redirected I/O files used by the task to be cleaned up and released back to the operating system appropriately.   </LI></OL></OL><P></P><H3>Environment Variables</H3><P>Input to Standard CGIs is   accomplished mainly through these environment variables:</P><P>SERVER_SOFTWARE<BR>  The name and version of the information server software answering the request (and running the gateway). <BR>Format: name/version </P><P>SERVER_NAME<BR>  The server's hostname, DNS alias, or IP address as it would appear in self-referencing URLs.</P><P> GATEWAY_INTERFACE<BR>The revision of the CGI specification used by this server. <BR>Format: CGI/revision </P><P>SERVER_PROTOCOL<BR>The name and revision of the information protocol used by this request. <BR>Format: protocol/revision </P><P>SERVER_PORT<BR>The port number receiving  the request. </P><P>REQUEST_METHOD<BR>The method used to make  the request. For HTTP, this is "GET", "HEAD", "POST", etc. </P><P>PATH_INFO<BR>The extra path information, as given by the client. In other words, scripts can be accessed by their virtual pathname, followed by extra information at the end of this path. The extra information is sent as PATH_INFO. The server  decodes  this information  before it is passed to the CGI script. </P><P>PATH_TRANSLATED<BR>The server provides a translated version of PATH_INFO, which completes a  virtual-to-physical mapping of the path as required. </P><P>SCRIPT_NAME<BR>A virtual path to the script being executed for self-referencing URLs. </P><P>QUERY_STRING<BR>The information which follows the "?" in the URL which referenced this script. This is the query information. It is not   decoded in any fashion. This variable is always   set when there is query information, regardless of command line decoding. </P><P>REMOTE_HOST<BR>The hostname making the request. If the server does not have this information, it will set REMOTE_ADDR and leave this unset. </P><P>REMOTE_ADDR<BR>The IP address of the remote host making the request. </P><P>AUTH_TYPE<BR>If  the script is protected, this is the protocol-specific authentication method used to validate the user. </P><P>REMOTE_USER<BR>If  the script is protected, this is the authenticated username. </P><P>REMOTE_IDENT<BR>This variable is set to the remote user name retrieved from the server. Use of this variable should be limited to logging only. </P><P>CONTENT_TYPE<BR>For queries having  attached information, such as HTTP POST and PUT, this identifies  the content type of the data. </P><P>CONTENT_LENGTH<BR>The length of the said content as given by the client. </P><P>HTTP_ACCEPT<BR>The MIME types accepted by the  client, as given by HTTP headers. Other protocols may need to receive this information from elsewhere. Each item in this list should be separated by commas as specified by  HTTP. <BR>Format: type/subtype, type/subtype. </P><P>HTTP_USER_AGENT<BR>The browser being used by the  client  to send the request. General format: software/version library/version. </P><H3>Standard CGI Implementation Data Structures</H3><P> The data structures provided  for GoForms  function  for standard CGI  implementation.</P></TD></TR></TABLE></body></html>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本韩国欧美国产| 亚洲成av人片| 色综合天天天天做夜夜夜夜做| 精品1区2区在线观看| 国产一区欧美二区| 国产午夜亚洲精品理论片色戒 | 91丨九色丨国产丨porny| 亚洲一线二线三线视频| 日韩一二三四区| 成人午夜在线视频| 亚洲国产cao| 欧美激情中文字幕一区二区| 91视频.com| 麻豆国产精品一区二区三区 | 国产精品久久久久久久裸模| 日本高清视频一区二区| 奇米一区二区三区| 欧美极品xxx| 欧美久久高跟鞋激| 99视频超级精品| 蜜桃视频一区二区三区| 亚洲精品成人悠悠色影视| 日韩精品最新网址| 在线观看日韩av先锋影音电影院| 免费看日韩a级影片| 亚洲精选视频免费看| 精品久久久网站| 在线观看视频一区二区欧美日韩| 国产乱码精品一区二区三| 视频一区二区三区入口| 亚洲欧美日韩国产手机在线| 久久久99久久| 69久久夜色精品国产69蝌蚪网 | 日欧美一区二区| 亚洲激情五月婷婷| 亚洲视频狠狠干| 国产亚洲污的网站| 久久久美女毛片| 亚洲国产成人私人影院tom| 欧美精品一区二区三区蜜桃视频| 欧美猛男男办公室激情| 欧美日韩免费观看一区三区| 91老师片黄在线观看| 99re热视频这里只精品| 91在线观看污| 91丨国产丨九色丨pron| 色94色欧美sute亚洲线路一久| 成人av午夜电影| 色呦呦国产精品| 欧美手机在线视频| 亚洲视频一区二区在线观看| 亚洲女性喷水在线观看一区| 一区二区三区四区中文字幕| 亚洲一区二区欧美日韩| 日韩主播视频在线| 国精产品一区一区三区mba桃花| 国产精品88av| 色综合久久中文字幕综合网| 欧美日韩国产小视频| 日韩欧美激情在线| 成人免费在线视频观看| 三级影片在线观看欧美日韩一区二区 | 欧美激情在线看| ...xxx性欧美| 九九视频精品免费| 91在线视频播放| 91精品国产福利在线观看| 欧美激情综合五月色丁香 | 国产日韩欧美麻豆| 一区二区三区中文字幕| 久久黄色级2电影| 91在线观看视频| 欧美精品一区二区三区在线播放| 国产精品免费视频一区| 蜜桃视频在线观看一区二区| 色狠狠综合天天综合综合| 国产亚洲精品aa| 青椒成人免费视频| 欧美在线free| 国产精品久久久久天堂| 韩国女主播一区| 在线成人av影院| 亚洲国产综合在线| 日本韩国一区二区三区| 国产精品免费久久| 国产伦精品一区二区三区视频青涩 | 欧美熟乱第一页| 亚洲视频在线观看一区| 99久免费精品视频在线观看| 国产欧美一区二区精品久导航 | 久久久国际精品| 免费成人av在线播放| 国产精品欧美一级免费| 欧美日韩国产首页| 国产成人精品一区二区三区网站观看| 国产精品伦一区| 成人精品在线视频观看| 久久久国产精品麻豆| 国模少妇一区二区三区| 精品88久久久久88久久久| 国产一区二区视频在线| 久久精品欧美一区二区三区麻豆| 蜜桃视频在线一区| 久久久久久久综合日本| 国产在线视频一区二区| 国产精品久久久久aaaa樱花| 成人精品视频一区二区三区尤物| 国产精品三级电影| 91浏览器打开| 日本高清不卡在线观看| 亚洲日本乱码在线观看| 一本色道久久综合亚洲精品按摩| 夜夜嗨av一区二区三区中文字幕 | 99久久免费国产| 亚洲精品久久久久久国产精华液| 久久蜜臀精品av| 欧美日韩一区久久| 一本大道久久a久久精二百| 国产一区二区三区免费观看| 亚洲线精品一区二区三区 | 国产91对白在线观看九色| 亚洲动漫第一页| 日韩美女视频一区| 国产精品午夜春色av| 日韩欧美亚洲一区二区| 欧美日韩免费一区二区三区| av高清久久久| 色综合天天综合在线视频| 国产精品一区二区久久精品爱涩| 日韩av一区二区三区| 日韩精品一二三四| 丝袜亚洲另类欧美| 男女性色大片免费观看一区二区 | 亚洲一区二区不卡免费| 国产精品视频一二三区| 国产精品视频一区二区三区不卡| 国产亚洲精品久| 国产精品电影院| 欧美国产成人精品| 91论坛在线播放| 粉嫩一区二区三区性色av| 欧美日韩在线播| 国产精品初高中害羞小美女文| 亚洲二区视频在线| 成人aa视频在线观看| 欧美日韩mp4| 亚洲视频电影在线| 日日夜夜精品视频免费| 美女视频免费一区| 国产99久久久国产精品潘金| 精品国产一区二区三区忘忧草| 精品国产麻豆免费人成网站| 国产精品毛片无遮挡高清| 亚洲韩国一区二区三区| 精品亚洲成a人| 色网站国产精品| 2020国产精品| 亚洲精品免费在线播放| 久久激五月天综合精品| 在线一区二区三区四区五区| 精品国免费一区二区三区| 一二三区精品福利视频| 国产麻豆欧美日韩一区| 日韩亚洲电影在线| 亚洲男同1069视频| 岛国精品在线播放| 日韩三级伦理片妻子的秘密按摩| 国产精品入口麻豆原神| 精品影院一区二区久久久| 在线观看视频一区二区欧美日韩| 中文欧美字幕免费| 国产精品中文字幕欧美| 69久久99精品久久久久婷婷| 亚洲成人在线免费| 日本韩国一区二区三区视频| 一区二区三区日韩欧美精品| 色8久久人人97超碰香蕉987| 一区二区三区四区在线播放| 91亚洲精品久久久蜜桃网站| 国产精品美日韩| 成人高清视频免费观看| 中文字幕制服丝袜一区二区三区 | 国产精品一区二区三区乱码| 日韩精品一区二区三区视频播放| 亚洲国产一区视频| 日韩一区二区视频在线观看| 久久99精品久久久久久 | 制服丝袜中文字幕亚洲| 蜜桃视频在线一区| 久久久国产一区二区三区四区小说| 国产一区日韩二区欧美三区| 中文天堂在线一区| 欧美少妇性性性| 欧美日韩国产中文| 亚洲成精国产精品女| 91精品国产全国免费观看| 国产一区二区三区观看| 亚洲乱码一区二区三区在线观看| 4438亚洲最大| 91女人视频在线观看|