tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: tomcat 6 virtual hosting vs apache virtual hosting
Date Wed, 05 Sep 2012 18:22:32 GMT
-----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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message