cancel
Showing results for 
Search instead for 
Did you mean: 

Changing Alfresco's default path

gheesh
Champ in-the-making
Champ in-the-making
Hi,

I'm trying to set up Alfresco so that it serves content using another path instead of the usual /alfresco, in my case:

http://server.example.com/repository/

instead of

http://server.example.com:8080/alfresco/

The port part is easy, but I have looked for information on how to change the path and I haven't been able to find any, using either Alfresco or Tomcat. I tried using an Apache reverse proxy, but Alfresco uses too many HTML tags and redirects for it to work smoothly.

Any ideas?
5 REPLIES 5

mikeh
Star Contributor
Star Contributor
Did you try just renaming the .war file?

Mike

gheesh
Champ in-the-making
Champ in-the-making
Nice! It worked by renaming the current directory as well (so simple… I can't believe I didn't think about it!) Smiley Very Happy

And if I wanted Alfresco to be served from the root directory?

i.e.: http://server.example.com/

mikeh
Star Contributor
Star Contributor
Probably ROOT.war, although you needs to check the Tomcat docs for that.

Mike

gheesh
Champ in-the-making
Champ in-the-making
Ok I'll see what I can find and post any relevant pointers here.

Thank you very much!

norgan
Champ in-the-making
Champ in-the-making
Hi there,
with Alfresco Labs 3.0C, changing the port number in servers.xml will not work, since you have to edit about a thousand configfles for that.

Rather edit tomcat/conf/server.xml :
* copy & paste the "Port=8080" sectin
* change the second "Port=8080" to "Port=80"
and redirect both to port 443

This will give you the Port80 Entry and allow all the hardcoded  "localhost:8080" settings to work all the same.

More details :
Wiki http://wiki.alfresco.com/wiki/Changing_Default_Port_Configuration
Forum http://forums.alfresco.com/en/viewtopic.php?f=47&t=16323


Regards, Norgan