Issue18

Title ServeFolders plugin on mac
Priority bug Status resolved
Superseder Nosy List admin
Assigned To
Keywords Orthanc Core

Created on 2016-06-21.12:05:06 by admin, last changed by admin.

Files
File name Uploaded Type Edit Remove
terminalLog.log admin, 2020-06-29.15:17:56 text/plain
Messages
msg64 (view) Author: admin Date: 2016-06-21.12:05:06
[BitBucket user: krz spam]
[BitBucket date: 2016-06-21.10:05:06]

I want to use ServeFolders plugin on mac. I requested a compiled version of Orhanc from the devs, that included all needed plugis etc. 

1. To activate ServeFolders i used in configOSX.json following line
```
#!json

"Plugins" : [
  "libServeFolders.dylib"
  "libOsimisWebViewer.dylib"
  ],
```
2. I configure the folder in configOSX.json, to serve for a test the main folder there orthanc is located

```
#!json

  "ServeFolders" : {
    "/test" : "./" 
  },
```
3. Then i run the startOrthanc.command to start Orthanc.

In the console then it is stated that the plugin is loaded (full log added as attachment)

```
#!
PluginsManager.cpp:264] Registering plugin 'serve-folders' (version 1.0.0)

```

4. If i open the browser and navigate to the registered path localhost:port/test, i get following error:

```
#!json

{
HttpError: "Not Found",
HttpStatus: 404,
Message: "Unknown resource",
Method: "GET",
OrthancError: "Unknown resource",
OrthancStatus: 17,
Uri: "/test"
}
```

That im doing wrong?
msg65 (view) Author: admin Date: 2020-06-29.15:17:56
[Bugzilla user: s.jodogne@gmail.com]
[Bugzilla date: 2020-06-29T13:17:56+00:00]

Created attachment 63
terminalLog.log
msg66 (view) Author: admin Date: 2016-06-21.12:09:38
[BitBucket user: krz spam]
[BitBucket date: 2016-06-21.10:09:38]

Wow... it does work. I did not expect that the default localhost:<port> now served plugins!
msg67 (view) Author: admin Date: 2016-06-21.12:13:35
[BitBucket user: Sébastien Jodogne]
[BitBucket date: 2016-06-21.10:13:35]

Fine, can I close the issue or is there a remaining problem?
msg68 (view) Author: admin Date: 2016-07-15.12:04:59
[BitBucket user: Sébastien Jodogne]
[BitBucket date: 2016-07-15.10:04:59]

In the absence of answers, I put this issue on hold.
msg69 (view) Author: admin Date: 2019-01-25.10:07:49
[BitBucket user: Sébastien Jodogne]
[BitBucket date: 2019-01-25.09:07:49]

No follow-up by the reporter for more than two years, closing the issue.
History
Date User Action Args
2026-07-29 15:51:18admincreate