Someone please correct me if I'm wrong, but as far as I can tell using the
Warp connector, you cannot do what you're talking about below. What I see
happening is that you can specify directories that you want Tomcat to serve
and directories you want Apache to serve. You cannot put html pages and jsp
pages in the same directory and have Tomcat serve the jsp and Apache serve
the html.

-----Original Message-----
From: Adrian Caneva [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 04, 2002 11:25 AM
To: Tomcat Users List
Subject: Apache + Tomcat ... some questions


Hi,
I have some questions related to Tomcat+Apache:

[Platform : Tomcat 4.0.1+mod_webapp+Apache 1.3.22]

* Apache handling static contents
How can I know if static contents are being served by Apache or Tomcat in my
configuration ?
I installed my web application under:

%TOMCAT_HOME%/webapps/my_application

at httpd.conf:

<VirtualHost 192.168.1.2>
    DocumentRoot %TOMCAT_HOME%/webapps/my_application
    ServerName my_virtual_host
    WebAppConnection warpConnection warp localhost:8008
    WebAppDeploy my_application warpConnection /
</VirtualHost>

What I believe is that the WebAppDeploy line is telling Apache that Tomcat
will handle ALL contents under http://my_virtual_host/ ... or not ? So
http://my_virtual_host/my_page.html will be served by Tomcat and not Apache
as I wanted.
The site is starting with index.jsp so Tomcat should take control starting
from the root, buth there are a lot of mixed .html and images.
Any ideas on how to configure the site just to take the best from Apache and
Tomcat ?


* Which are the differences between Warp and AJP connectors ?

thanks very much in advance,

==========================
  Adrian Caneva
  NEXT TECHNOLOGY SRL
  La Rioja 26
  (T4000ISB) Tucuman
  Tel/Fax +54 381 4219105
  [EMAIL PROTECTED]
  www.nexttech.com.ar
==========================


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