NOTE: Running in a sub folder has been officially deprecated. It will no longer be supported in upcoming 4.0 release. See our April 2020 announcement.
https://your.domain.com/chat/
you have to setup a reverse proxy. See Run Rocket.Chat behind a SSL Reverse Proxy​/var/www
in the example, which must be changed to your DocumentRoot (if it's not already your DocumentRoot).Unknown path
server error./chat
as subfolder (it's parsed out of the ROOT_URL provided) but the Rocket.Chat server gets a request for /var/www/chat
, detects a mismatch and returns the above mentioned error./
when using Rocket.Chat in a subfolder (it's likely configured for other stuff already in this case).webapp.js
, search for Unknown path
.rewrite
, proxy_http
and proxy_wstunnel
are enabled in the apache configuration. Otherwise the websocket calls will return a 500 http response.ROOT_URL
to the process. For example: