<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Will do.</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Patrick Reynolds <<a href="mailto:patrick.reynolds@kitware.com">patrick.reynolds@kitware.com</a>><br>
<span style="font-weight:bold">Date: </span>Wednesday, May 6, 2015 at 8:52 AM<br>
<span style="font-weight:bold">To: </span>Brian Chapman <<a href="mailto:brian.chapman@utah.edu">brian.chapman@utah.edu</a>><br>
<span style="font-weight:bold">Cc: </span>"<a href="mailto:midas@public.kitware.com">midas@public.kitware.com</a>" <<a href="mailto:midas@public.kitware.com">midas@public.kitware.com</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Midas] HTTP/HTTPS Issues with Midas<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">Hi Brian,
<div><br>
</div>
<div>This is a bit surpising as we have several https-only versions of Midas currently running for various customers; however, I don't want to rule out us mssing something. Could you create a bug for this on the issue tracker (<a href="https://github.com/midasplatform/Midas/issues/new">https://github.com/midasplatform/Midas/issues/new</a>),
 so that you can track the issue's progress. Also, any more detail you can provide on the precise Midas version, error messages encountered, etc would be greatly appreciated.</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail_signature">Thanks,<br>
Patrick Reynolds<br>
Technical Leader<br>
Kitware, Inc.<br>
919 869 8848</div>
</div>
<br>
<div class="gmail_quote">On Wed, May 6, 2015 at 12:03 AM, Brian E Chapman <span dir="ltr">
<<a href="mailto:Brian.Chapman@utah.edu" target="_blank">Brian.Chapman@utah.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>Hi Patrick, et al.,</div>
<div><br>
</div>
<div>We are having issues with http/https web addresses with our Midas instance. I recall that you did some fixes for this for our UCSD instance. However, we seem to be finding issues in the code where http seems to be hardwired into the code. Here is a message
 excerpt from my colleague.</div>
<div><br>
</div>
<div>Brian</div>
<div><br>
</div>
<div>
<div style="font-family:Consolas">Digging into the php code, I find that on numerous occasions, the url is </div>
<div style="font-family:Consolas">constructed by concatenating an 'http' string with the PHP server </div>
<div style="font-family:Consolas">variables.  I have a search running, but at least the following files </div>
<div style="font-family:Consolas">match one search regexp for the above concatenation:</div>
<div style="font-family:Consolas"><br>
</div>
<div style="font-family:Consolas">[root@phenotype Midas3]# find . -exec egrep -l </div>
<div style="font-family:Consolas">"'[^']*http:\/\/.*SERVER_NAME" '{}' \;</div>
<div style="font-family:Consolas">./modules/oai/controllers/IndexController.php</div>
<div style="font-family:Consolas">./modules/ldap/Notification.php</div>
<div style="font-family:Consolas">./modules/statistics/controllers/components/ReportComponent.php</div>
<div style="font-family:Consolas">./modules/scheduler/library/ezcomponents/Webdav/src/server.php</div>
<div style="font-family:Consolas"><br>
</div>
<div style="font-family:Consolas">One of these, or one yet to be found (it's still searching), must set </div>
<div style="font-family:Consolas">the url used by the dicomserver and pydas.</div>
<div style="font-family:Consolas"><br>
</div>
<div style="font-family:Consolas">It seems like they assumed MIDAS would run under http rather than https.</div>
</div>
<div><br>
</div>
</div>
<br>
_______________________________________________<br>
Midas mailing list<br>
<a href="mailto:Midas@public.kitware.com">Midas@public.kitware.com</a><br>
<a href="http://public.kitware.com/mailman/listinfo/midas" target="_blank">http://public.kitware.com/mailman/listinfo/midas</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</span>
</body>
</html>