Hi Robert, I've just hacked together a patch which gives a IgnoreUrl directive for the mod_webapp connector. It's pretty ugly as it operates at the virtual host level, especially since there's unimplemented slots for ignore urls at the application level in the mod_webapp code. However, if you wanted to tell mod_webapp to ignore certains patterns use this syntax within your virtual host directives. You can add as many as you want.
IgnoreUrl /images/* *.html I've just lost contact with my dev machine, so I can't test it properly so don't blame me if you get loads of seg faults. However, the little testing I did do looked encouraging. If you want a binary for a Linux machine let me know. Regards, James Williamson www.nameonthe.net ----- Original Message ----- From: Robert Nicholson <[EMAIL PROTECTED]> To: Tomcat-User <[EMAIL PROTECTED]> Sent: Saturday, March 23, 2002 8:51 PM Subject: Apache and Tomcat contexts > What are some scenarios where you split dynamic and static content b/w > tomcat and apache? > > if my app's context is /examples > > I therefore have to accept that any path under /examples has to have > it's content avaliable > via the web app? > > How do I have static content under Apache's doc root but still not have > to redefine documentroot > to point to tomcat's webapps? > > <VirtualHost localhost> > DocumentRoot "D:\java\jakarta\jakarta-tomcat-4.0.3\webapps" > ServerName localhost > WebAppConnection myconn warp localhost:8008 > WebAppDeploy examples myconn /examples > </VirtualHost> > > Apache can only see my webapp if I define the Document as above. > > How then can I refer to static content in apache's own document root? > >
mod_webapp.patch
Description: Binary data
-- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>