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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? cgi.htm

?? 一個典型的用于嵌入式Linux環境的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>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲精品国产第一综合99久久| 日韩在线a电影| 国产成a人亚洲| 久久夜色精品国产噜噜av| 丝袜国产日韩另类美女| 欧美午夜一区二区三区| 亚洲伊人色欲综合网| 色综合天天狠狠| 亚洲一区二区中文在线| 在线观看91视频| 青青草精品视频| 日韩写真欧美这视频| 久久99深爱久久99精品| 337p粉嫩大胆色噜噜噜噜亚洲| 免费看精品久久片| 精品国产伦理网| 国产成人欧美日韩在线电影| 国产欧美日韩久久| 91偷拍与自偷拍精品| 日韩高清不卡在线| 精品国产乱码久久| 成人影视亚洲图片在线| 亚洲精品国产a| 精品国产91久久久久久久妲己| 国产精品一品二品| 亚洲香肠在线观看| 精品国产凹凸成av人导航| thepron国产精品| 亚洲国产精品久久久男人的天堂| 欧美一二三四在线| 99久久精品一区| 免费av网站大全久久| 亚洲色图视频网| 2023国产一二三区日本精品2022| 成人av电影在线| 韩国女主播一区二区三区| 亚洲综合色网站| 亚洲国产精品ⅴa在线观看| 欧美日韩三级在线| 一本久久综合亚洲鲁鲁五月天 | 风间由美一区二区av101| 五月天网站亚洲| 一区二区三区欧美视频| 欧美极品另类videosde| 美女精品一区二区| 久久久一区二区三区| 色婷婷av一区二区三区之一色屋| 国产精品亚洲午夜一区二区三区| 天堂久久一区二区三区| 亚洲欧美日韩综合aⅴ视频| 欧美国产精品一区二区| 国产亚洲欧美日韩日本| 国产亚洲精品7777| 久久久精品2019中文字幕之3| 久久久久久99精品| 久久人人超碰精品| 久久九九全国免费| 欧美国产日韩精品免费观看| 欧美国产综合一区二区| 亚洲精品综合在线| 亚洲成在人线在线播放| 日本成人在线电影网| 韩国三级电影一区二区| 岛国一区二区在线观看| 91电影在线观看| 日韩亚洲欧美成人一区| 国产精品污www在线观看| 中文字幕亚洲不卡| 人人精品人人爱| 国产一区二区三区不卡在线观看| 国产成人av电影在线播放| 色呦呦一区二区三区| 91精品国产乱| 亚洲情趣在线观看| 久久er99精品| 色哟哟欧美精品| 国产欧美日韩另类视频免费观看| 亚洲欧美日韩在线不卡| 久久超碰97人人做人人爱| www.成人网.com| 精品久久国产老人久久综合| 亚洲少妇30p| eeuss鲁片一区二区三区在线看| 欧美丰满一区二区免费视频| 国产精品乱码久久久久久| 免费看欧美女人艹b| 色噜噜狠狠成人网p站| 久久精品一区蜜桃臀影院| 亚洲第一福利视频在线| 91美女在线视频| 国产欧美精品一区二区三区四区 | 亚洲欧美二区三区| 国产精品99久| 久久久综合视频| 免费在线一区观看| 欧美色中文字幕| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆 | 韩国av一区二区三区| 7777精品伊人久久久大香线蕉超级流畅 | 欧美日韩国产精品成人| 亚洲午夜精品网| 欧美美女一区二区三区| 亚洲图片欧美一区| 欧美日韩日日骚| 天天操天天干天天综合网| 欧美日韩和欧美的一区二区| 国产一区二区久久| 欧美日韩精品一区二区三区蜜桃| 亚洲欧美激情一区二区| 欧美性猛交一区二区三区精品| 夜夜亚洲天天久久| 91麻豆精品国产91久久久久久久久 | 久久精品亚洲一区二区三区浴池| 国产综合色产在线精品| 国产日本欧美一区二区| 日本久久一区二区三区| 爽好多水快深点欧美视频| 精品嫩草影院久久| 99久久综合国产精品| 亚洲成人三级小说| 国产午夜精品一区二区三区嫩草 | 欧美大尺度电影在线| 国产丶欧美丶日本不卡视频| 亚洲欧美日韩精品久久久久| 欧美男男青年gay1069videost | 亚洲宅男天堂在线观看无病毒| 欧美一区二区视频在线观看2022| 国产一区二区三区久久悠悠色av| 亚洲三级免费电影| 久久网站热最新地址| 色老头久久综合| 成人高清av在线| 国产一区在线精品| 日韩高清一区在线| 亚洲在线观看免费视频| 国产欧美视频一区二区| 欧美日韩国产首页| 99天天综合性| 国产精品99久久久久久宅男| 日本强好片久久久久久aaa| 亚洲乱码国产乱码精品精可以看| 久久免费视频色| 久久久久97国产精华液好用吗| 日韩精品一区二区三区四区视频| 欧美日韩精品久久久| av一本久道久久综合久久鬼色| 黄一区二区三区| 韩国欧美国产一区| 国产一区二区伦理片| 国产福利91精品| 成人动漫一区二区在线| 成人激情免费网站| 97se亚洲国产综合自在线观| 波多野结衣在线一区| 丁香婷婷综合色啪| 99久久精品免费精品国产| 色偷偷一区二区三区| 欧美日韩免费不卡视频一区二区三区| 91在线观看成人| 欧美伊人精品成人久久综合97| 欧美日韩精品欧美日韩精品| 日韩视频免费观看高清完整版在线观看 | www.久久精品| 欧美色窝79yyyycom| 日韩亚洲欧美在线观看| 国产午夜精品理论片a级大结局 | 91在线视频在线| 欧美日韩aaaaaa| 欧美国产1区2区| 亚洲第一搞黄网站| 成人性生交大片| 免费视频最近日韩| 精品无人码麻豆乱码1区2区| 紧缚奴在线一区二区三区| 99精品在线观看视频| 欧美一区二区三区在线观看 | 日韩av电影免费观看高清完整版在线观看| 日韩av电影天堂| 91猫先生在线| 国产三级一区二区| 日本最新不卡在线| 91丨porny丨中文| 国产日韩综合av| 美国三级日本三级久久99| 欧美亚洲国产一卡| 国产精品高潮久久久久无| 国产主播一区二区| 91精品国产一区二区三区香蕉| 亚洲视频 欧洲视频| 成人福利电影精品一区二区在线观看| 91精品国产91久久综合桃花| 亚洲一区二区黄色| 色婷婷亚洲精品| 亚洲精品网站在线观看| a级精品国产片在线观看| 精品国内片67194| 国产毛片精品国产一区二区三区| 日韩欧美高清在线| 久久成人久久爱| 国产三级精品三级在线专区|