Thanks for the replies. I'm not completely sure yet about the application segmentation. 2nd day on the job and there's lots to do! I'm not used to this method of configuring Tomcat so I'm still trying to make sure I understand exactly what is going on and I have very limited time to do so. Apache is used in front of Tomcat which I'm used to doing and is using mod_jk.
Whenever I've used this in the past, all apps were off the webapps folder and no tomcat virtual host was used. Apache would do the virtual host config and Jkmount the entire tomcat webapps. I could see this not being efficient and the need to use the Tomcat virtual hosting, I just need to understand Tomcat virtual hosting a bit better. Thanks, Charles On Wed, Sep 5, 2012 at 3:22 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Charles, > > On 9/4/12 2:13 PM, Charles Richard wrote: > > I've started a new job where the last sysadmin has the virtual > > hosting configured in Tomcat (and Apache). I'm used to only doing > > virtual hosting with Apache. > > > > What are the pros and cons of each method? I'm trying to > > understand why that would be needed. > > I'd like to add some questions to those posed by André: > > 1. How are you connecting Apache httpd to Tomcat? mod_jk/mod_proxy_ajp > or mod_proxt_http? > > 2. Do you ever need to access Tomcat directly, or does all traffic go > through Apache httpd first? > > 3. Does Apache httpd add anything to your environment that you can't > (or don't want to) do through Tomcat? Perhaps httpd isn't even necessary. > > 4. Describe your application segmentation: do you have one or more > webapps deployed in each virtual host that are identical *other* than > the fact that they are deployed on separate virtual hosts? For > example, does the application in VH A behave differently than the same > application in VH B? Sometimes, it's the same app with a different > configuration which changes the kind of advice we might give you. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.17 (Darwin) > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ > > iEYEARECAAYFAlBHmGgACgkQ9CaO5/Lv0PBYSQCgqnOmfBXGhV+hTmbua8BPUsE6 > UXkAn37wpiiNbZsgElQlv+xkNsPblTkE > =ZMHC > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >