Get non-ROOT applications to return "" for getContextPath?

2006-11-16 Thread Eric Jain
Is it possible to trick an application into believing that it is the ROOT application (i.e. getContextPath returns ""), even when it isn't? The reason for this is that managing virtual hosts with Tomcat can be a bit cumbersome, and some management applications won't work in such a setup. The

Re: Setting up virtual hosts behind a reverse proxy

2005-12-02 Thread Eric Jain
Eric Jain wrote: I have a Tomcat (5.5.12) server that is hidden behind Apache. On the Apache server, several virtual hosts are defined. ServerName .xxx.xx ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/ Now I'd like to map some of these vi

Setting up virtual hosts behind a reverse proxy

2005-12-01 Thread Eric Jain
I have a Tomcat (5.5.12) server that is hidden behind Apache. On the Apache server, several virtual hosts are defined. ServerName .xxx.xx ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/ Now I'd like to map some of these virtual hosts to virtual h

Re: Slow and incomplete dynamic content generation after enabling native connector support in 5.5.12

2005-11-24 Thread Eric Jain
Remy Maucherat wrote: Sure. File a bug with a test WAR. Of course, it will likely end up as INVALID, since I expect this to work. Well, I also expected this to work, but alas, it didn't :-) http://issues.apache.org/bugzilla/show_bug.cgi?id=37627 ---

Slow and incomplete dynamic content generation after enabling native connector support in 5.5.12

2005-11-24 Thread Eric Jain
After adding the APR library to the java.library.path [as described in http://tomcat.apache.org/tomcat-5.5-doc/apr.html], certain JSPs that produce a lot of output (but used to be served in under a second) are now very slow and produce incomplete output. The header appears only after a few kilo