12-14-2016 08:30 AM
Hi, I want to serve my alfresco instance with a URL like "www.example.com/apps/alfresco". I tried with Deploying Alfresco with a different context path | Alfresco Documentation but didn't work, tomcat still serving alfresco in "www.example.com/alfresco". The url of alfresco share didn't change neither, only the reference in the alfresco main page reference, but if I try to access, I get a 404 of the tomcat.
How I can do it?
Thanks for your help.
12-14-2016 10:48 AM
Why not just try to use an reverse proxy? ,for exmple ngnix.
12-15-2016 04:31 AM
I use it, but the styles didn't work and the urls don't work. When I access the url www.example.com/prefix/alfresco, the instance try to get the css of www.example.com/prefix/css, when the correct url should be www.example.com/prefix/alfresco/css.
The apache config for alfresco:
ProxyPass /prefix/alfresco http://10.140.12.144:28080/alfresco
ProxyPassReverse /prefix/alfresco http://10.140.12.144:28080/alfresco
12-15-2016 04:46 AM
Which is your alfresco.context value at alfresco-global.properties?
12-15-2016 05:12 AM
/prefix/alfresco
12-15-2016 05:19 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.