cancel
Showing results for 
Search instead for 
Did you mean: 

run ALFRESCO in Root like http://alfresco

haltindag
Champ in-the-making
Champ in-the-making
Hi

how can I reconfigure so that Alfresco runs in the Root like http://alfresco
instead in Virtual directory http://alfresco/alfresco

I made some changes in
urlrewrite.xml, webscript-framework-config-custom.xml and webscript-framework-config-custom.xml.sample

but no success so far



Thanks in advance
3 REPLIES 3

zaizi
Champ in-the-making
Champ in-the-making
In C:/alfresco/tomcat/webapps/ directory, rename alfresco.war as ROOT.war and restart Tomcat. Remember to delete the old alfresco directory in there.

norgan
Champ in-the-making
Champ in-the-making
@Zaizi - how far does that collide with the root.war from share ? Any experience ?

zaizi
Champ in-the-making
Champ in-the-making
If you want to continue to use Share, you'll need to Share configuration to point it at your Alfresco installation. Incidentally you can run Share on a separate server to Alfresco.

Modify
\tomcat\shared\classes\alfresco\web-extension\webscript-framework-config-custom.xml

And update the URL in the snippet below. In this case remove the "/alfresco/" context.

   <!– Overriding endpoints to reference an Alfresco server with NTLM filter enabled –>
   <!– NOTE: the NTLM Authentication Filter must be enabled for both repository and web-tier web.xml –>
   <!– NOTE: if utilising a load balancer between web-tier and repository cluster, the "sticky –>
   <!–       sessions" feature of your load balancer must be used when NTLM filter is active –>
   <!–
   <config evaluator="string-compare" condition="Remote">
      <remote>
        
         <endpoint>
            <id>alfresco</id>
            <name>Alfresco - user access</name>
            <description>Access to Alfresco Repository WebScripts that require user authentication</description>
            <connector-id>alfresco</connector-id>
            <endpoint-url>http://yourserver:8080/alfresco/wcs</endpoint-url>
            <identity>user</identity>
         </endpoint>
        
      </remote>
   </config>