cancel
Showing results for 
Search instead for 
Did you mean: 

Two context possible?

rmacian
Champ in-the-making
Champ in-the-making
Hi,

I want to confirm if it's possible to have different contexts depending from where the user are accessing to alfresco/share. Since the alfresco configuration needs to define the alfresco.context and share.context I understand that there is only one context possible to form internally the urls.But I need advice if this is possible to do it through Apache in some way. I want to achieve something like that:

- Internal network 192.168.0.0 - context: /alfresco
- External network - context: /some/different/context/alfresco

In some php apps it's possible to add a condition to differenciate the IP address of the client and put some context or another. I don't know if it's possible to do it through java code, or Apache or whatever.
1 REPLY 1

afaust
Legendary Innovator
Legendary Innovator
Hello,

this is possible - basically most if not all masquerading that you can perform on Apache can be used with Alfresco. This is a simple change to the standard mod_proxy / mod_jk configuration to map the long context to the Alfresco context on your application server. Please note that you should adapt the context in Alfresco configuration if you do not plan to provide the general "alfresco" context via Apache configuration.

Regards
Axel