掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
Windows 2003 Serverで動くCGIアプリをDelphi6で作るには? (ID:13664)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
にしのさん、返事ありがとうございます。 HttpObserverというソフトを使っているので、 それで取得したリクエストとレスポンスが以下です。 使っているCGIアプリはDelphi6のデモをコンパイルしたものです。 Windows Server 2003 *************************************************************** ----------クライアントからのリクエスト内容---------- GET http://svr2003/cgi-bin/WebRequestCGI.exe HTTP/1.0 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */* Referer: http://svr2003/cgi-bin/ Accept-Language: ja Proxy-Connection: Keep-Alive User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Host: svr2003 ----------サーバへ送信したリクエスト内容---------- GET http://svr2003/cgi-bin/WebRequestCGI.exe HTTP/1.0 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */* Referer: http://svr2003/cgi-bin/ Accept-Language: ja Host: svr2003 Connection: none ----------サーバからのレスポンス内容---------- HTTP/1.1 502 Bad Gateway Content-Length: 232 Content-Type: text/html Server: Microsoft-IIS/6.0 Date: Wed, 09 Mar 2005 00:24:11 GMT Connection: close <html><head><title>Error</title></head> <body><head><title>Error in CGI Application</title></head> <body><h1>CGI Error</h1> The specified CGI application misbehaved by not returning a complete set of HTTP headers.</body></body></html> *************************************************************** Windows 2000 Sever *************************************************************** ----------クライアントからのリクエスト内容---------- GET http://svr2000/cgi-bin/WebRequestCGI.exe HTTP/1.0 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */* Referer: http://svr2000/cgi-bin/ Accept-Language: ja Proxy-Connection: Keep-Alive User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Host: svr2000 ----------サーバへ送信したリクエスト内容---------- GET http://svr2000/cgi-bin/WebRequestCGI.exe HTTP/1.0 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */* Referer: http://svr2000/cgi-bin/ Accept-Language: ja Host: svr2000 Connection: none ----------サーバからのレスポンス内容---------- HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Wed, 09 Mar 2005 00:27:56 GMT Content-Type: text/html Content-Length: 146 Content: Method = GET<BR> URL = <BR> User Agent = <BR> Cookie = <BR> From = <BR> Remote Address = 192.168.0.2<BR> Remote Host = 192.168.0.2<BR> ***************************************************************
←解決時は質問者本人がここをチェックしてください。
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.