tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <JTur...@AAS.com>
Subject RE: Apache 2+Tomcat 4.1.12: how to disable the Coyote HTTP connec tor?
Date Thu, 02 Jan 2003 14:00:39 GMT

That is how you disable the connector on 8080.  All you do is comment it
out.  My guess is that you don't have the comment marks in the right place,
breaking your server.xml file.

John


> -----Original Message-----
> From: Manuel González Castro [mailto:iinmgc00@ucv.udc.es]
> Sent: Thursday, January 02, 2003 8:56 AM
> To: tomcat-user@jakarta.apache.org
> Subject: Apache 2+Tomcat 4.1.12: how to disable the Coyote HTTP
> connector?
> 
> 
> Hi,
> 
> I'm running Apache HTTP Server 2.0.43 + Tomcat 4.1.12 + mod_jk and
> everything is working fine, Apache can talk to Tomcat to 
> serve *.jsp pages.
> 
> Now I'd like to disable the default "non-SSL Coyote HTTP/1.1 
> Connector on
> port 8080" because I don't like everybody getting into
> http://mydomain.com:8080 and seeing the Tomcat congratulations page,
> manager, admin page, ... I just want Tomcat to serve JSP 
> pages to Apache
> using mod_jk.
> 
> I commented the default Coyote HTTP/1.1 Connector and leaved 
> the AJP 1.3 as
> the only Connector in my server.xml file:
> 
>     <!-- Define an AJP 1.3 Connector on port 8009 -->
>     <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
>                port="8009" minProcessors="5" maxProcessors="75"
>                acceptCount="10" debug="0"/>
> 
> But when I request a JSP file to Apache, Tomcat doesn't 
> answer, I get this
> error:
> "Internal Server Error The server encountered an internal error or
> misconfiguration and was unable to complete your request."
> 
> Is there any way to prevent people from accesing 
> http://mydomain:8080 and
> leave AJP 1.3 as the only Connector ?
> 
> Thanks in advance!
> Manuel
> 
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>

--
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