From: Krzysztof B. <kb...@un...> - 2017-05-05 15:19:07
|
Hi, W dniu 05.05.2017 o 15:11, Shiraz Memon pisze: > Hi Krzysztof, > > I have configured unity to redirect to home ui, if the uri/context-path > is set to /, below is the config > > unityServer.core.endpoints.4.endpointType=UserHomeUI > unityServer.core.endpoints.4.endpointConfigurationFile=conf/endpoints/userhome.properties > > unityServer.core.endpoints.4.contextPath=/ > ... > > Now, with / and /home uri unity redirects to the home ui without issues, > however /home/home leads to the following bootstrap error, which is > upsetting our existing users who are still not aware of the new uri. > > Inline image 1 > > Is it an intended behavior. Contrarily /admin and /admin/admin works > without any issues whatsoever, might be the admin ui is not configured > for the root / path. No, Unity won't work if you set contextPath of an endpoint to '/'. This creates unsolvable routing and cookie issues. If you want to have home attached to the root address you can configure the new redirect option (unityServer.core.defaultWebPath), so that user entering https://unity.example.com will be redirected automatically to https://unity.example.com/home Cheers, Krzysztof |