As far as I can tell, you cannot do what you're trying to do. Not yet anyway. I did just as you did, specified a matching pattern in the WebAppDeploy directive, and Apache would serve the static content, but when it came time to pass off a request to Tomcat, I got the doc not found error. Evidently, it's an all or nothing proposition at this point on a directory by directory basis. You can either specify a directory and have Apache serve the content or specify a directory and have Tomcat serve the static + dynamic content.
If you set up an Access Log Valve and serve a static page from Tomcat, you will set a request in the Tomcat log and an identical request in the Apache log 1 second later. What apparently is happening is the request is processed twice. Here is a link from an earlier post that this is a known issue w/ Tomcat 4.0.2 (and 4.0.1 for that matter). http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.2/RELEASE-N OTES Mike -----Original Message----- From: Yoav [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 12:30 PM To: Tomcat Users List Subject: IMPOSSIBLE? Tomcat w/ Apache Mixed ???? Hi, I have a SINGLE documentRoot that has a tree with both JSP and HTML docs all around. In a previous Tomcat 3.2.3 installation, using JkMount, I was able to have Apache serve all the html, images and static content - and servlets/Jsp's were compiled and served by Tomcat. Example: JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 NOW, Trying to upgrade to Tomcat 4.0.2 using warp connector the same way - and it just won't work!!! WebAppConnection conn warp 127.0.0.1:8008 WebAppDeploy ROOT conn /*.jsp Anyone ?? Oh, and don't tell me (RTFM) "go read the docs" - I already know them by heart !! Thanks!! -- 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]>
