09-10-2019, 10:32 PM
(This post was last modified: 09-11-2019, 02:39 AM by cprmlao@hotmail.com.)
Hi , Alexandre.
There is no other requirement. The cgi must be called using http://127.0.0.1:8888/cgi-bin/newweb/dgate.exe?mode=top. Just It.
It runs ok in wamp server and appserver.
And I have only to copy the cgi-bin folder with the cgi to wwwroot.
I have contacted the author and He said the problem is with the www server.
This cgi is part of a opensource project of pacs dicom server and is used for many people in the world. It is part of Conquest dicom server(https://ingenium.home.xs4all.nl/dicom.html).
It must return something as:
Content-type: text/html
Cache-Control: no-cache
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<TITLE>Conquest DICOM server - version 1.4.19</TITLE>
<style type="text/css">
body { font:10pt Verdana; }
a { color:blue; }
#content { background-color:#dddddd; width:200px; margin-top:2px; }
h1 {background-color:#6495ed;}
</style>
</HEAD>
<BODY BGCOLOR='CFDFCF'>
<H1>Welcome to Conquest DICOM server - version 1.4.19</H1>
There is no other requirement. The cgi must be called using http://127.0.0.1:8888/cgi-bin/newweb/dgate.exe?mode=top. Just It.
It runs ok in wamp server and appserver.
And I have only to copy the cgi-bin folder with the cgi to wwwroot.
I have contacted the author and He said the problem is with the www server.
This cgi is part of a opensource project of pacs dicom server and is used for many people in the world. It is part of Conquest dicom server(https://ingenium.home.xs4all.nl/dicom.html).
(09-10-2019, 09:03 PM)Alexandre Machado Wrote: What I think you must have in mind is that query_string might be empty. The query_string of a request to a IW application may or may not have data. Are you using a sync or async request? What is the expected input for that CGI script?I am using sync request.
It must return something as:
Content-type: text/html
Cache-Control: no-cache
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<TITLE>Conquest DICOM server - version 1.4.19</TITLE>
<style type="text/css">
body { font:10pt Verdana; }
a { color:blue; }
#content { background-color:#dddddd; width:200px; margin-top:2px; }
h1 {background-color:#6495ed;}
</style>
</HEAD>
<BODY BGCOLOR='CFDFCF'>
<H1>Welcome to Conquest DICOM server - version 1.4.19</H1>