From Brian.Chapman at utah.edu Wed May 6 00:03:46 2015 From: Brian.Chapman at utah.edu (Brian E Chapman) Date: Wed, 6 May 2015 04:03:46 +0000 Subject: [Midas] HTTP/HTTPS Issues with Midas Message-ID: Hi Patrick, et al., 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. Brian Digging into the php code, I find that on numerous occasions, the url is constructed by concatenating an 'http' string with the PHP server variables. I have a search running, but at least the following files match one search regexp for the above concatenation: [root at phenotype Midas3]# find . -exec egrep -l "'[^']*http:\/\/.*SERVER_NAME" '{}' \; ./modules/oai/controllers/IndexController.php ./modules/ldap/Notification.php ./modules/statistics/controllers/components/ReportComponent.php ./modules/scheduler/library/ezcomponents/Webdav/src/server.php One of these, or one yet to be found (it's still searching), must set the url used by the dicomserver and pydas. It seems like they assumed MIDAS would run under http rather than https. -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.reynolds at kitware.com Wed May 6 10:52:04 2015 From: patrick.reynolds at kitware.com (Patrick Reynolds) Date: Wed, 6 May 2015 10:52:04 -0400 Subject: [Midas] HTTP/HTTPS Issues with Midas In-Reply-To: References: Message-ID: Hi Brian, 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 ( https://github.com/midasplatform/Midas/issues/new), 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. Thanks, Patrick Reynolds Technical Leader Kitware, Inc. 919 869 8848 On Wed, May 6, 2015 at 12:03 AM, Brian E Chapman wrote: > Hi Patrick, et al., > > 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. > > Brian > > Digging into the php code, I find that on numerous occasions, the url is > constructed by concatenating an 'http' string with the PHP server > variables. I have a search running, but at least the following files > match one search regexp for the above concatenation: > > [root at phenotype Midas3]# find . -exec egrep -l > "'[^']*http:\/\/.*SERVER_NAME" '{}' \; > ./modules/oai/controllers/IndexController.php > ./modules/ldap/Notification.php > ./modules/statistics/controllers/components/ReportComponent.php > ./modules/scheduler/library/ezcomponents/Webdav/src/server.php > > One of these, or one yet to be found (it's still searching), must set > the url used by the dicomserver and pydas. > > It seems like they assumed MIDAS would run under http rather than https. > > > _______________________________________________ > Midas mailing list > Midas at public.kitware.com > http://public.kitware.com/mailman/listinfo/midas > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Brian.Chapman at utah.edu Wed May 6 12:43:44 2015 From: Brian.Chapman at utah.edu (Brian E Chapman) Date: Wed, 6 May 2015 16:43:44 +0000 Subject: [Midas] HTTP/HTTPS Issues with Midas In-Reply-To: References: Message-ID: Will do. From: Patrick Reynolds > Date: Wednesday, May 6, 2015 at 8:52 AM To: Brian Chapman > Cc: "midas at public.kitware.com" > Subject: Re: [Midas] HTTP/HTTPS Issues with Midas Hi Brian, 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 (https://github.com/midasplatform/Midas/issues/new), 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. Thanks, Patrick Reynolds Technical Leader Kitware, Inc. 919 869 8848 On Wed, May 6, 2015 at 12:03 AM, Brian E Chapman > wrote: Hi Patrick, et al., 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. Brian Digging into the php code, I find that on numerous occasions, the url is constructed by concatenating an 'http' string with the PHP server variables. I have a search running, but at least the following files match one search regexp for the above concatenation: [root at phenotype Midas3]# find . -exec egrep -l "'[^']*http:\/\/.*SERVER_NAME" '{}' \; ./modules/oai/controllers/IndexController.php ./modules/ldap/Notification.php ./modules/statistics/controllers/components/ReportComponent.php ./modules/scheduler/library/ezcomponents/Webdav/src/server.php One of these, or one yet to be found (it's still searching), must set the url used by the dicomserver and pydas. It seems like they assumed MIDAS would run under http rather than https. _______________________________________________ Midas mailing list Midas at public.kitware.com http://public.kitware.com/mailman/listinfo/midas -------------- next part -------------- An HTML attachment was scrubbed... URL: