Direct link to a study without going through Study List (deployed on IIS without server config changes)

Hello,

We are deploying OHIF Viewer on an IIS server. The viewer works fine when we enter through the Study List and then select a study.

However, what we would like to achieve is to launch the viewer directly with a StudyInstanceUID, using a URL like:

https://<server>:<port>/viewer?StudyInstanceUIDs=1.2.3.4.5

When we try this URL directly in the browser, we get:

404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

I understand this is because IIS tries to resolve /viewer as a real folder, while OHIF internally expects the client-side router to handle it after loading index.html. Unfortunately, we cannot change IIS configuration (so we cannot add rewrite rules or configure fallback to index.html).

:point_right: My questions:

  • Is there a way to configure OHIF to support direct study URLs without server rewrite rules?
  • Can we use an alternative syntax like index.html#/viewer?... or index.html?mode=viewer&StudyInstanceUIDs=... to make this work?
  • Is there a recommended workaround for deployments where we cannot touch the web server configuration?

Any guidance would be very appreciated :pray:

Thanks a lot!