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+Apatche for two websites on one server
Date Thu, 28 Jan 2010 14:58:48 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ling,

On 1/27/2010 11:57 PM, chenll wrote:
> Can i install Tomcat and GeonetWork node firstly, because i will use
> Apatche for building another website later instead of now.

Absolutely. If you want to install Tomcat first, without Apache, you'll
probably want to change the HTTP <Connector> in server.xml to use port
80 (the standard HTTP port). Remember to disable that when you bring
Apache httpd into the mix.

> in this case, should i just install Tomcat without any manual
> setting. And do the setting you told me just when i building another
> website by Apache?

The only difference in configuration between Tomcat "standalone"
(without Apache httpd or some other web server) or Tomcat + Apache httpd
is the configuration of Tomcat's <Connector>s in server.xml: without
Apache httpd, you don't need the "AJP" <Connector>, and with Apache
httpd, you /do/ need the AJP <Connector>. Also, you can't have both
Tomcat and Apache httpd listening on the same port (80) on the same
network interface, so you'll most likely want Apache httpd to use port
80 and forward to Tomcat as previously described.

Good luck,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkthpicACgkQ9CaO5/Lv0PBN4wCggYCgiLuq4yOl/AaLPLJtyzN0
lNgAn3PYTIAQlERCTK4vDKlX25KqjTaL
=1lXu
-----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