cancel
Showing results for 
Search instead for 
Did you mean: 

Default Tomcat Webapp

linsys
Champ in-the-making
Champ in-the-making
Is there a way to make alfresco the default webapp for Tomcat?

can I just setup some redirect from / to /alfresco?

Or is there a better way to make alfresco the default tomecat webapp?

Thanks this product rocks!
3 REPLIES 3

rivetlogic
Champ on-the-rise
Champ on-the-rise
Hi,

You could copy the contents of the alfresco WAR to <TOMCAT_INSTALL>/webapps/ROOT and replace what's already there (the Tomcat default page).

This will make Alfresco your default webapp on Tomcat.

One way to do it is:

- move <TOMCAT_INSTALL>/webapps/ROOT to <TOMCAT_INSTALL>/webapps/ROOTorig
- copy alfresco.war to <TOMCAT_INSTALL>/webapps/ and rename it to ROOT.war

Hope this helps,

–Aladdin

webit
Champ in-the-making
Champ in-the-making
For all newbie's, like me, make sure to keep the case sensitivity so it is ROOT.war and not root.war otherwise you would still have to go http://yourserver/root instead of http://yourserver

Just a little bit of info I thought I would pass on.

toni
Champ in-the-making
Champ in-the-making
You can modified or create a new file "index.jsp" file in ROOT to redirect to your desire URL

Example, Tomcat:  Tomcat\webapps\ROOT\index.jsp

1. rename the old index.jsp to index.jsp.old
3. create a new index.jsp with the following line:

<%
response.sendRedirect("http://localhost/alfresco/index.jsp");
%>

or

<%
response.sendRedirect("http://mydomain.com/alfresco/index.jsp");
%>