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

Mike

-----Original Message-----
From: chad kellerman [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 7:34 AM
To: [EMAIL PROTECTED]
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.


Thanks
-chad

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to