[SOLVED] Autoindex with openhab integrated webserver

  • Platform information:
    • Hardware: Raspi 3B+
    • OS: Raspian Stretch
    • Java Runtime Environment: 1.8.0_201-b09
    • openHAB version: 2.5.0 unstable

I’d like to put images inside the /conf/html folder and let the webserver show a autoindex-page which allows the files to be listed and downloaded. Optionally, it would be great to have a page automatically generated with the images itself.

Is this possible with the built-in webserver and best without any additional scripts by just configuring it?

Thanks & best regards,

I guess a better place to ask is a forum for Jetty.

Solving the question myself :slight_smile:

One has to change in file /usr//share/openhab2/runtime/etc/jetty.xml
Line 63:

<Set name="directoriesListed">true</Set>