From: Shiraz M. <a....@fz...> - 2017-05-05 15:38:42
|
Hi, On Fri, May 5, 2017 at 5:18 PM, Krzysztof Benedyczak <kb...@un...<mailto:kb...@un...>> wrote: Hi, W dniu 05.05.2017<tel: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 Great, setting the context & default Web path correctly has actually solved both:logo and javascript loading issues. Many thanks, Shiraz Cheers, Krzysztof -- Shiraz Memon Federated Systems and Data Jülich Supercomputing Centre (JSC) Phone: +49 2461 61 6899 Fax: +49 2461 61 6656 ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ |