Sam Fletcher wrote:

> Im really struggling at this. I have updated the server.xml so that the 
> connector port is now port 80 instead of port 8080
> 
> this is the exact code i have changed,
> 
>    <Connector port="80" protocol="HTTP/1.1"
>               connectionTimeout="20000"
>               redirectPort="8443" />
> 
> However when restarting Magnolia using  ./magnolia_control.sh start
> 
> The site no longer works on either port 80 or 8080.
> 
> It if helps I am using Plesk which has tomcat installed. OS is centos 6
> 
> Please can someone advise what i need to do to make this site live on port 80?

Plesk comes with the Apache httpd webserver AFAIK. Are you using Plesk's Tomcat 
plugin or did you install a separate Tomcat?

The Apache httpd webserver is usually running on port 80, so you can't run 
Tomcat on port 80 as well. I wouldn't recommend running Tomcat on port 80 in 
production anyway. Running a process on a port <1024 requires root privileges 
and it's more secure to have Tomcat not running as root.

I recommend leaving Tomcat on port 8080 and configuring the Tomcat connector 
(mod_jk, http://tomcat.apache.org/connectors-doc/) in Apache httpd to connect 
to Tomcat. If you use Plesk's Tomcat plugin it might be possible that that can 
set this up for you (it's been a while since I've used it), otherwise you'll 
have to configure this yourself.

Nils.

----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to