On 24/11/2009 11:57, Robert Koberg wrote:

On Nov 24, 2009, at 3:09 AM, Peter Crowther wrote:

2009/11/24 TheGrailer<ken...@gmail.com>:
The most compellig argument from the "Apache2 and Tomcat 6"-friend was
indeed the static content part.

http://tomcat.markmail.org/message/il33wqqjb2dok6xz might be
illuminating - along with the discussion around it on that thread.  I
suspect Chris will be making his own comments on this thread, as he
knows his benchmarking results better than anyone!

But also confing like virtual hosts (hard in
pure tomcat?)

Easy in pure Tomcat.  Outlined at
http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
(assuming version 6.0.x).

It would be easier if you could keep your host configuration separate from the 
server.xml, similar to contexts. For example, the file system would look like:

-tomcat
   |-conf
     |-server.xml
     |-Catalina
       |-locahost.xml (the host config)
       |-localhost
         |-webapp1.xml
         |-webapp2.xml

Hmmm... wonder how ward it would be to implement this? Do you see any problems?

You might be able to achieve it with XML includes.

I recall previous discussion on the list describing this as possible - why not give it a try & report back?


p


-Rob


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to