tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Millson" <>
Subject RE: Just trying to get things stright...
Date Fri, 01 Mar 2002 12:59:36 GMT
No, I don't think you can get Apache to do anything from inside server.xml.
That file only impacts the configuration of Tomcat. The HttpConnector
settings basically says "Tomcat will handle http requests on port 8080." The
WarpConnector settings basically say "Tomcat will handle Warp requests on
port 8008."

Apache is UPSTREAM of Tomcat, so if you want to integrate Tomcat into
Apache, you have to change your Apache settings in the httpd.conf file.

What Apache can do is look at the URL of the request and determine based on
the URL how it gets processed. In httpd.conf you can set up URL patterns
that tell Apache which request get forwarded to Tomcat using the Warp
connector. (The README file that comes w/ Tomcat explains how to do this,
plus many other places.).


-----Original Message-----
From: chad kellerman []
Sent: Friday, March 01, 2002 7:34 AM
Subject: Just trying to get things stright...

Good morning, afternoon, and evening,

     Just one little clarification.

  If I want apache to handle all html, php, cgi requests, I use:

  <Connector className="org.apache.catalina.connector.http.HttpConnector"
               port="8080" minProcessors="5" maxProcessors="50"
               enableLookups="false" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="60000"/>

in my server.xml file.

   And if I want the web_app module to handle "java" request I use:

<Connector classname="org.apache.catalina.connector.warp.WarpConnector"
                         port="8008" minProcessors="5" maxProcessors="50"
                         enableLookups="false" acceptCount="10" debug="0"/>


    I am having trouble distinguishing the difference between the Connectors
and how Apache handles html requests as compared to "java" requests.


To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message