As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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.
Why not just try to use an reverse proxy? ,for exmple ngnix.
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
Which is your alfresco.context value at alfresco-global.properties?
/prefix/alfresco
Resolved using: nginx - Serving Tomcat under a sub-URI - Server Fault and Deploying Alfresco with a different context path | Alfresco Documentation .