Viewers: Opening study/series via URL pattern http://<base_url>/viewer/<study_instance_uid> in version OHIF Viewer 2.0

Created on 30 Jun 2019  路  4Comments  路  Source: OHIF/Viewers

Im unable to open study/series via URL pattern http:///viewer/ in version OHIF Viewer 2.0. This is how I used to do it in version 1.x. When I try to do it in 2.0 I get the following:

Annotation 2019-06-30 204628

Community

All 4 comments

If you go to http:// do you get the study list? If so I guess it's a setting for your IIS server. You need to redirect all paths which do not exactly match files in the directory to index.html. Similar setting exist for e.g. AWS S3, Google Cloud Storage Buckets, or Nginx when you are using them for hosting single-page applications.

e.g. https://stackoverflow.com/questions/7027636/nginx-send-all-requests-to-a-single-html-page

If you go to http:// do you get the study list? If so I guess it's a setting for your IIS server. You need to redirect all paths which do not exactly match files in the directory to index.html. Similar setting exist for e.g. AWS S3, Google Cloud Storage Buckets, or Nginx when you are using them for hosting single-page applications.

e.g. https://stackoverflow.com/questions/7027636/nginx-send-all-requests-to-a-single-html-page

Yes I do get the study list when I go to http://

You suggestion was exactly what was required. The following link helped setup the rewrite rules in IIS:

https://www.mattburkedev.com/iis-rewrite-rule-for-single-page-apps/

Great!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pieper picture pieper  路  3Comments

MuriloSchaefer picture MuriloSchaefer  路  3Comments

jaizz2003 picture jaizz2003  路  3Comments

MathisGuilhin picture MathisGuilhin  路  3Comments

christianvargasforero picture christianvargasforero  路  3Comments