Disabling the HTTP port of the embedded web container

Applies to: Denodo 7.0 , Denodo 6.0 , Denodo 5.5 , Denodo 5.0
Last modified on: 21 Mar 2018
Tags: Security Tomcat

Download document

Content

The Denodo Platform includes an installation of Apache Tomcat that is used as internal web container. It is possible to disable the HTTP port of the embedded Apache Tomcat to restrict the access to the web container to the HTTPS port.

To do so, it is necessary to modify the  

<DENODO_HOME>/resources/apache-tomcat/conf/server.xml configuration file used at the startup of the web container and comment the HTTP port configuration section:

 

<!-- Disable HTTP port

<Connector port="${com.denodo.tomcat.http.port}"

                   maxThreads="150" minSpareThreads="25"

                   redirectPort="${com.denodo.tomcat.https.port}"

                   connectionTimeout="20000"

                   URIEncoding="UTF-8"

                   sendReasonPhrase="true"/>

-->

 

Once the file is modified, the web container must be restarted for the changes to take effect.

NOTE for older versions: For Denodo versions previous to 6.0, the server.xml file is generated dynamically based on the configuration in the file <DENODO_HOME>/resources/apache-tomcat/conf/server.xml.template.

For this reason, to disable the HTTP port on these versions, the server.xml.template file must be modified instead.

Questions

Ask a question
You must sign in to ask a question. If you do not have an account, you can register here

Featured content

DENODO TRAINING

Ready for more? Great! We offer a comprehensive set of training courses, taught by our technical instructors in small, private groups for getting a full, in-depth guided training in the usage of the Denodo Platform. Check out our training courses.

Training