On Leap 15, I have installed the latest version of ejabberd, and have tried to install jwchat. But ejabberd now uses yml files, and none of the jwchat tutorials use yml files, but I have tried to make the connection. My question is what in the setup (using ejabberd as the server, and not apache) determines the web url for the chat? site:5280/web/jwchat/index.html gives me a 404. Some tutorials have a line that I think would translate at "/web": mod_http_fileserver but this does not seem to matter. Since jwchat is in /var/lib/ejabberd/www/jwchat, where does the "web" in the URL come from? I get nothing in the webaccess.log file, and the main log file says it accepts my connection to 5280. How do I get jwchat to serve pages?
With this example configuration:
listen: - port: 5280 module: ejabberd_http request_handlers: "/jjj": mod_http_fileserver modules: mod_http_fileserver: docroot: "/var/lib/ejabberd/www/jwchat"
Let's imagine you have installed JWChat in the path you mentioned. Then, the local file at location
will be provided when you visit the URL: