Task #1604

DOC: create a doc to explain how to listen on port 80 instead of 8080

Added by Sebastien Jacquot over 3 years ago. Updated over 3 years ago.

Status:New Start date:12/08/2015
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Documentation Spent time: -
Target version:Portal 0.7

Description

Create a doc to explain how to listen on port 80 instead of 8080.

WIP:

Edit Tomcat config:

in /var/lib/tomcat7/conf/server.xml
<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>
=> <Connector connectionTimeout="20000" port="80" protocol="HTTP/1.1" redirectPort="8443"/>

in /etc/default/tomcat7
#AUTHBIND=no
=> AUTHBIND=yes

Install authbind:

sudo apt-get install authbind

To check/validate maybe useless (at least the touch command), give read/exec permissions to tomcat on port 80:

sudo touch /etc/authbind/byport/80
sudo chmod 500 /etc/authbind/byport/80
sudo chown tomcat7 /etc/authbind/byport/80

Remove the port in /usr/share/tomcat7/.TXMWEB/txm/txmweb.conf

portal_address=http://127.0.0.1:8080/txm/
=> portal_address=http://127.0.0.1/txm/

Restart Tomcat.

History

#1 Updated by Sebastien Jacquot over 3 years ago

  • Category set to Documentation

Also available in: Atom PDF