How do you get resin to serve index.html by default if you navigate to a directory? (equivalent of DirectoryIndex in Apache)

StackOverflow https://stackoverflow.com/questions/479530

  •  20-08-2019
  •  | 
  •  

Question

Is it possible to configure Resin to serve static files such that navigating to e.g. http://localhost:8888/foo/bar/ will serve the file foo/bar/index.html (without performing a redirect)? I can't find the answer in the Resin docs, though I might be looking in the wrong place.

The equivalent in Apache would be the DirectoryIndex directive.

Was it helpful?

Solution

Maybe I don't get the question, but welcome-file-list seems to do just that?

OTHER TIPS

It looks like the welcome-file-list tag is used to specify this. See http://caucho.com/resin/doc/webapp-tags.xtp#welcome-file-list

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top