Apache 2+Tomcat 4.1.12: how to disable the Coyote HTTP connector?

2003-01-02 Thread Manuel González Castro
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:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Apache 2+Tomcat 4.1.12: how to disable the Coyote HTTP connector?

2003-01-02 Thread Turner, John

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:[EMAIL PROTECTED]]
 Sent: Thursday, January 02, 2003 8:56 AM
 To: [EMAIL PROTECTED]
 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:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Apache 2+Tomcat 4.1.12: how to disable the Coyote HTTP connector?

2003-01-02 Thread Jerry Ford
Looks like you conmmented out the wrong connector.  The one you have 
removed is identified as the one for port 8009, which is the one Apache 
uses.  Restore that connector and comment out the one that is identified 
as for port 8080.

Jerry

Manuel González Castro wrote:

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:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Apache 2+Tomcat 4.1.12: how to disable the Coyote HTTP connector?

2003-01-02 Thread Turner, John

He wants Ajp13Connector to be his only connector.  He wants to disable
CoyoteConnector on port 8080, but is getting an error message when he tries
to do so.

John


 -Original Message-
 From: Jerry Ford [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 02, 2003 11:30 AM
 To: Tomcat Users List
 Subject: Re: Apache 2+Tomcat 4.1.12: how to disable the Coyote HTTP
 connector?
 
 
 Looks like you conmmented out the wrong connector.  The one you have 
 removed is identified as the one for port 8009, which is the 
 one Apache 
 uses.  Restore that connector and comment out the one that is 
 identified 
 as for port 8080.
 
 Jerry
 
 Manuel González Castro wrote:
 
 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:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
  



--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]