Hello Johann,
I tried following the steps
- Created myModule/views/welcome.html in labkey/modules
- Restarted tomcat
- In the look and feel settings page I set "Alternative site welcome page" to "/myModule/welcome.view" (viewEntry.png)
- Hit Save
The welcome page will be loaded when a user loads the site with no action provided (i.e. https://www.labkey.org). So in my case this was http://localhost:8080/labkey/. See (view.png). This loads a view as expected.
If you want a simple HTML page
"or /myModule/welcome.html for a simple HTML page in the web directory of your module." --> From the docs. This could use a bit of clarification, and we can get the doc updates.
But to have the simple HTML page you need to
- Add a another folder in in myModule called web
- Within web create another folder called myModule and add your welcome.html here
- Should look like
- myModule
---view
---web
------myModule
---------welcome.html
- In the look and feel settings page I set "Alternative site welcome page" to "/myModule/welcome.html" (htmlEntry.png)
- You should see html.png
This doc lays out the structure of a module.
https://www.labkey.org/Documentation/wiki-page.view?name=moduleDirectoryStructures
Questions
- in the Look and feel settings page I choose "myModule.welcome". Did you select this by setting "Alternative site welcome page" to "/myModule/welcome.view"?
- What was the other relative URL you tried?
Thanks,
Chet