cancel
Showing results for 
Search instead for 
Did you mean: 

Changing Alfresco's context root

inspiron82
Champ in-the-making
Champ in-the-making
Hi,
actually i deploy alfresco.war in jboss, and i can access alfresco using

http://<server-ip>:<port>/alfresco

Now i really need to access alfresco using

http://<server-ip>:<port>/SOMETHING_ELSE

Do you know which configuration files I need to edit and in which way?

thanks a lot
7 REPLIES 7

mikeh
Star Contributor
Star Contributor
You can just rename the .war, but you might find places where /alfresco is referenced directly.

The better way would probably to put a redirection rule in-place which remapped requests for /alfresco to /somethingElse on the server.

Thanks,
Mike

inspiron82
Champ in-the-making
Champ in-the-making
I need to hae two instances of Alfresco on the same server.
One

http://<server-ip>:<port>/alfresco
and the other

http://<server-ip>:<port>/SOMETHING_ELSE

How can i tell the first istance to use

/server/conf/alfresco/extension
and the second to use

/server/conf/SOMETHING_ELSE/extension
?

thanks

mikeh
Star Contributor
Star Contributor
You don't. That's not going to work for a number of reasons - just one of which is the extensions mechanism.

If you want multiple Alfresco instances on the same server, either take a look at Multi Tenancy or consider using a VM instead.

Mike

inspiron82
Champ in-the-making
Champ in-the-making
I need to have two instances of alfresco using the same alf_data directory and the same database, as i just need to have two different layout for the same alfresco's data.

I succeded in deployng two instances of alfresco:

http://<server-ip>:<port>/alfresco
and

http://<server-ip>:<port>/alfresco_default
one with the original layout and the other with the modified layout.

Both of them use the configuration folder

/server/conf/alfresco/extension

the only problem is that in extension I setted the ldap-synchronisation of users ang groups of Active Directory, but i want just one of the istances to synchronize users and groups to avoid conflicts during the contemporary synchronizations.

I tought to make a new extension folder in

/server/conf/alfresco_default/extension
equal to the oiginal extension folder except for

ldap-synchronisation-context.xml  –> ldap-synchronisation-context.xml.sample
ldap-synchronisation.properties     –>  ldap-synchronisation.properties

can u help me?

thanks

inspiron82
Champ in-the-making
Champ in-the-making
by the way, my final goal is to have two visualization of Alfresco using the same database schema and the same alf_data.

Do u hne any suggestions?
Thanls a lot.

mrogers
Star Contributor
Star Contributor
Clustering is the usual way of having more than one instance of alfresco sharing the same database schema.

Then you won't need to fiddle around with trying to work around the synchronisation issues.

inspiron82
Champ in-the-making
Champ in-the-making
Thanks a lot.

Can u tell me if and where can i configure the location of the extension folder?

thanks