cancel
Showing results for 
Search instead for 
Did you mean: 

How serve Alfresco in a sub-URI?

acidcar
Champ in-the-making
Champ in-the-making

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.

5 REPLIES 5

kaynezhang
World-Class Innovator
World-Class Innovator

Why not just try to use an reverse proxy? ,for exmple ngnix.

acidcar
Champ in-the-making
Champ in-the-making

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?

Hyland Developer Evangelist

acidcar
Champ in-the-making
Champ in-the-making

/prefix/alfresco