-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Shailesh,
On 4/24/14, 12:03 PM, J Java wrote: >> Each virtual host can only have one default (ROOT) web app. Read >> about virtual hosting in the Users Guide. > > Ok. thanks will have a look thanks. > >> There is no specific reason to front Tomcat with httpd if you >> only need one instance of Tomcat. Most people need multiple >> instances for various reasons, and since Tomcat doesn't do >> reverse-proxying, generally people use httpd or something similar >> out front. > > right. but i do have multiple instances. so i guess my decision to > use front server is correct. Please let me know can I do this with > Tomcat virtual hosting even if its behind HTTPD. You have multiple instances of Tomcat? You never mentioned that before. So, you will have multiple, virtual-hosted instances of Tomcat? No problem. > Also even if its not the standard and right thing the way I have > handled it. does it have any pitfalls? I'm not sure I understand what you are proposing. I have no concerns about using httpd to proxy to multiple instances of Tomcat, whether they are configured for multiple virtual hosts or not. You just need to keep everything straight in your mind when configuring it all. httpd VH 1 -> Tomcat VH 1 httpd VH 2 -> Tomcat VH 2 httpd VH 3 -> Tomcat VH 3 The locations of Tomcat VH 1, 2, and 3 are irrelevant: they can be contained in any of your instances of Tomcat. You just need to make sure that the connections for VH x are pointing to the correct host:port that will get you the correct Tomcat VH instance. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJTWW2yAAoJEBzwKT+lPKRYgZUP/116uBpR9899iGKY4Xlhw45p 4p1Fx+QhAeWucsbGRiUBnJTyvlyt1LGKjSvyW44M2BHlMI+Hq9ZQGWgkYiHFTBot OPIfKFcAPfN6XIXlVSpwG0mC4fhwOke5NbnJY92ArTfAuRADCw/j6GA7p899BBw7 UEyLQw3gV2OARPg0NsLHOQmQ55RJMI9+9RcPtz89/aSSZp0a7+7GW9gTaxgo5hgY Rx3fiEfsoIB+MYpdmMnyKGcuDNX/eWaUtDk2DYfNf4p3sjQqc0wJMGzwfqWYuPFN 7x4kG3RxNwHvi+KGbHA08Sfq1+k2gxuh4uz3FgnfRY7he6H/EJyp0TeOx/T14eGK 5+UCuIdg0l5fmVGdUU4z+FH59ThNp/tKrxEWWTlGetBGNdpZf24eyURlQvRMy1O2 GO6zcfxicMgxDZYDNFD2H9ywAG/hbFfCgVVPREbIGZXkK+QqQ6psi1AsLQnrnDY6 P4WDA4JylmTNdic/6sCv3PnWGFhilPG2Dk4IuJzuR1qA6XwWRu2SFeDAm7v5AS3a Fj8YwWh1ANiO5CWCgU4PJ6RlNqaZOzYCJzkAyBhGsUTEUu0+DU6Yuv/3IGRqLb3M 5THqAK0LW6zV9R+UlDOFPo3y5TF4XlQJGuAX5ngcW1Mby7n/pzOV88cJFDutWbUX S5enAc60lpqLvQziH87V =M41n -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org