tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Lou <f...@cgey.nl>
Subject Re: how to disable http when using https
Date Fri, 30 Aug 2002 08:40:49 GMT
Thanks for your reply,

I did check my server.xml again and there is no entry of a http connector.

---------------
server.xml

<!-- Note that component elements are nested corresponding to their
     parent-child relationships with each other -->

<Server port="8006" shutdown="SHUTDOWN" debug="0">
  <!-- Define the Tomcat Stand-Alone Service -->
  <Service name="Tomcat-Standalone">

     <!-- Define an SSL connector. This is the main entry point! -->
    <Connector className="org.apache.catalina.connector.http.HttpConnector"
               port="8443" minProcessors="3" maxProcessors="150"
               enableLookups="true"
               acceptCount="10" debug="2" scheme="https" secure="true">
      <Factory className="org.apache.catalina.net.SSLServerSocketFactory"
               clientAuth="false" protocol="TLS"
               keystoreFile="/opt/tomcat/appconf/crdc_n3i.jks"
               keystorePass="tomcat"
                />
    </Connector>

    <!-- An Engine represents the entry point (within Catalina) that
processes
         every request.  The Engine implementation for Tomcat stand alone
         analyzes the HTTP headers included with the request, and passes
them
         on to the appropriate Host (virtual host). -->

    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Standalone" defaultHost="localhost" debug="0">

      <!-- Global logger unless overridden at lower levels -->
      <!-- Not interesting...
      <Logger className="org.apache.catalina.logger.FileLogger"
              prefix="catalina_log." suffix=".txt"
              timestamp="true"/>
      -->

      <!-- Define the default virtual host -->
      <Host name="localhost" debug="0" appBase="webapps" unpackWARs="false">

        <!-- Access log processes all requests for this virtual host.  By
             default, log files are created in the "logs" directory relative
to
             $CATALINA_HOME.  If you wish, you can specify a different
             directory with the "directory" attribute.  Specify either a
relativ
e
             (to $CATALINA_HOME) or absolute path to the desired directory.
        -->
        <Valve className="org.apache.catalina.valves.AccessLogValve"
                 directory="logs"  prefix="access." suffix=".log"
                 pattern="common"/>

        <!-- Logger shared by all Contexts related to this virtual host.  By
             default (when using FileLogger), log files are created in the
"logs
"
             directory relative to $CATALINA_HOME.  If you wish, you can
specify
             a different directory with the "directory" attribute.  Specify
eith
er a
             relative (to $CATALINA_HOME) or absolute path to the desired
             directory.-->

        <!-- N3I application is secured by username/password logon -->
        <Context path="/n3i" docBase="n3i" debug="0" reloadable="true"
privilege
d="true">
           <Logger className="org.apache.catalina.logger.FileLogger"
prefix="n3i
_access." suffix=".log" timestamp="true"/>
        </Context>

      </Host>

    </Engine>

  </Service>

</Server>

----------
Filip Lou

--
****************************************************************************
This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst & Young Group. It is only intended
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorized to read, print, retain, copy disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all copies
of this message.
****************************************************************************

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message