Message64

Author admin
Recipients
Date 2016-06-21.12:05:06
Content
[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?
History
Date User Action Args
2026-07-29 15:51:18adminlinkissue18 messages
2026-07-29 15:51:18admincreate