cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to access alfresco URL without :8080/share?

june_cataquez1
Confirmed Champ
Confirmed Champ

Hi Alfrescians,

I was wondering if I could hide or remove ':8080/share' at the end of my URL (e.g. myAlfrescoURL.com:8080/share)? I think its not an advisable URL to give to the business users. Thanks.

Best Regards,

June

1 ACCEPTED ANSWER

kaynezhang
World-Class Innovator
World-Class Innovator

you need to
1. change the port of Tomcat from 8080 to 80 ,please refer to http://stackoverflow.com/questions/4756039/how-to-change-the-port-of-tomcat-from-8080-to-80
2.set share default application in tomcat ,please refer to http://stackoverflow.com/questions/14325171/setting-default-application-in-tomcat-7

View answer in original post

6 REPLIES 6

kaynezhang
World-Class Innovator
World-Class Innovator

you need to
1. change the port of Tomcat from 8080 to 80 ,please refer to http://stackoverflow.com/questions/4756039/how-to-change-the-port-of-tomcat-from-8080-to-80
2.set share default application in tomcat ,please refer to http://stackoverflow.com/questions/14325171/setting-default-application-in-tomcat-7

Hi Kayne,

I got stuck on step 2. I checked the link you gave, and followed the First Method, it says "first shutdown your tomcat [from the bin directory (sh shutdown.sh)] then you must delete all the content of your tomcat webapps folder (rm -fr *) then rename your WAR file to ROOT.war finally start your tomcat [from the bin directory (sh startup.sh)]"

After deleting all the content in my webapps folder (ALF_DIR/tomcat/webapps/), how can I rename WAR file to ROOT.war? when in fact the folder was empty.

Also I need your advice to which method I should do based on the link in step 2. Thanks.

Best Regards,

June

There are three options present in this page Setting default application in tomcat 7 - Stack Overflow 

you can just pick one ,you don't need to do all 3 methods.

Hi Kayne,

Still no luck, this time I try doing the 3rd Method, I created a context file ROOT.xml outside the ALF_DIR/tomcat/webapps folder.

Inside my ROOT.xml :

<?xml version="1.0"?> <Context reloadable="true" path="" docBase="/opt/alfresco-community/tomcat/webapps"/>

After saving, I restart Alfresco and try accessing myAlfrescoURL.com, and it takes me to XAMPP dashboard.

Best Regards,

June

kaynezhang
World-Class Innovator
World-Class Innovator

if you have installed XAMPP on your share server ,you need to  change XAMPP apache server port to other free port and leave port 80/443 to share tomcat.

Hi Kayne,

I was able to do it, thanks for your help. Also I did change the ports in Alfresco, because it points to 8080 by default.

Best Regards,

June