List of files in webview

Hello. How can I get list of files in webview.
like this
Снимок

but I have this error

photo_2020-05-06_14-59-56
How can I solve this issue

google helped me) I need to change

webAppContext.setInitParameter("org.eclipse.jetty.servlet.Default.dirAllowed", "false");

to true. Where is this parameter

Try looking in var/lib/openhab2/config/org/ops4j/pax/web.config. I didn’t see an entry like posted above so you may need to add this to the config and see if it works as expected. Note, you will need to stop OH before making a change to this file and I would also make sure you have a backup just in case. :wink:

tried. It doesn’t work( maybe in jetty.xml?

solved
/usr/share/openhab2/runtime/etc/jetty.xml
Set name=“directoriesListed”>true