cancel
Showing results for 
Search instead for 
Did you mean: 

localhost:8080/alfresco to web root

howsday
Champ in-the-making
Champ in-the-making
Hi,

I have installed Alfresco 3 stable on ubuntu 9 server.
to access share and alfresco, the url is http://192.168.0.4:8080/alfresco and http://192.168.0.4:8080/share
can i change the login url http://192.168.0.4:8080/alfresco to just http://192.168.0.4/portal/ or http://192.168.0.4/
and http://192.168.0.4:8080/share to http://192.168.0.4/share

thanks.
3 REPLIES 3

norgan
Champ in-the-making
Champ in-the-making
There is a detailed list, which files you need to change, its quite a lot. At least in the wiki but also here in the forum, I think. Check out the search function on the upper right

Regards, Norgan

gronfelt
Champ in-the-making
Champ in-the-making
You could change Tomcats http-connector port from 8080 to just 80 to accomplish that, however as stated above you need to change it in several locations other than the Tomcat server config file since Alfresco assumes that the connector port is 8080. I've done this, although I did it to be able to run several instances parallell, and as far as I can tell there's not that many files that need to be changed, but I might have missed out on some and there's always a risk that you miss out on something important.

However, a much better solution in your case might be to use Apache with the mod_jk connector as a proxy , that way you could use Apache to redirect any connections to the standard http port (80) to your Tomcat server (which could then keep 8080 as its http port). It's a pretty straightforward setup, feel free to ask if you need any pointers on setting it up.

sergisat
Champ in-the-making
Champ in-the-making
I have a init script to do that:


#!/bin/sh
# chkconfig: 345 75 10
# Init script to redirect ports for Alfresco

case "$1" in
    'start')
   iptables -F
   iptables -t nat -F
   iptables -P INPUT ACCEPT
   iptables -P FORWARD ACCEPT
   iptables -P OUTPUT ACCEPT
   iptables -t nat -A PREROUTING -p tcp –dport 80 -j REDIRECT –to-port 8080
esac