cancel
Showing results for 
Search instead for 
Did you mean: 

Change 'alfresco' in URL

tonyc
Champ in-the-making
Champ in-the-making
Hey all-

Is there a way to change the url from http://localhost:8080/alfresco to http://localhost:8080/content?

I know I could use apache to redirect requests from content to alfresco, but the end user would still see the alfresco in URL.
9 REPLIES 9

mikeh
Star Contributor
Star Contributor
Rename the .war file?

If you use Share, you'll have to tell it where you've moved the Repo of course, so be sure to copy a modified webscript-framework-config-custom.xml.sample into a web-extensions folder (remove the .sample)

Thanks,
Mike

tonyc
Champ in-the-making
Champ in-the-making
Thanks (again) Mike   Smiley Very Happy

miltondm
Champ in-the-making
Champ in-the-making
Great man, too easy

newmember
Champ in-the-making
Champ in-the-making
How does this work?
Could I some code snipits please.

I can't find webscript-framework-config-custom.xml.sample
I am renaming share.war?
I like the idea or http://host:8080/content/  instead of http://host:8080/share/

Thanks for the assistance.

I am on alfresco-community 3.2 from the canonical ubuntu package.

_sax
Champ in-the-making
Champ in-the-making
When alfresco.war gets deployed and therefore extracted, it creates the subfolder alfresco (maybe this is a copy of its own name).
To use another name, before deployment, the old alfresco-folder should be moved out and the file renamed to what is wanted.

The file you used is there:
Alfresco/tomcat/shared/classes/alfresco/web-extension/webscript-framework-config-custom.xml.sample
Alfresco/tomcat/webapps/extensions/web-extension/webscript-framework-config-custom.xml.sample
While I'm not perfectly sure, which one is meant.

muthukimoses
Champ in-the-making
Champ in-the-making
what are we copying where? these instructions are not clear.

miudon
Champ in-the-making
Champ in-the-making
The file "/opt/Alfresco/tomcat/shared/classes/alfresco/web-extension/webscript-framework-config-custom.xml.sample" is at "http://sourceforge.net/projects/alfresco/files/Alfresco/Alfresco%20Labs%203%20Final/alfresco-labs-sa...".
You should download, install it and replace all "http://localhost:8080/alfresco" to "http://localhost:8080/<custom>"

I did this but didn't work for me.

I copied the content of "/opt/Alfresco/tomcat/webapps/cmwebshare/WEB-INF/classes/alfresco/webscript-framework-config.xml" to "/opt/Alfresco/tomcat/shared/classes/alfresco/web-extension/webscript-framework-config-custom.xml and replace all  "http://localhost:8080/alfresco" to "http://localhost:8080/<custom>".
When I restart alfresco service and tried login into "http://localhost:8080/<custom>", its works fine.

I hope that my "solution" helps

apsantos
Champ in-the-making
Champ in-the-making
hi,

need help please.

i also want to change de url ,,,,:8080/alfresco to ,,,,:8080/content.

i have tried out all the suggestion but not achieve to made it work.

could it be possible to post a step-by step for doing this?

thanks again.

savic_prvoslav
Champ on-the-rise
Champ on-the-rise
I would not advise to change this, alfresco has some hardcoded stuff inside him.
if you are running on apache you can create url mask to you have

content.some.com -> some.com:8080/alfresco this is better solution than to change from alfresco to content
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.