start tomcat under apache, different port
Hi I have got tomcat 3.2.3 and mod_jk working with apache 1.3.19 But I don't want to serve the servlets under port 80 where apache is. And I don't want to run tomcat as stand alone. Is it possible to tell mod_jk and tomcat to host the servlets on a secure port other than 80, under apache? and have apache running on port 80 for static files. ie. http://myhost.com/statics/show.html http://myhost.com:XXX/servlets/Hello instead of http://myhost.com/servlets/Hello I understand that this is possible if I don't use mod_jk and run tomcat as stand alone. But I want to use mod_jk and apche as explained above. Thanks -- Sahar Madani Senior Software Engineer
RE: start tomcat under apache, different port
In the conf directory, modify the tomcat.conf , search for port 80, but I think the default is 8080. You can change that to whatever you like from that file. -Original Message- From: Sahar Madani [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 2:26 PM To: [EMAIL PROTECTED] Subject: start tomcat under apache, different port Hi I have got tomcat 3.2.3 and mod_jk working with apache 1.3.19 But I don't want to serve the servlets under port 80 where apache is. And I don't want to run tomcat as stand alone. Is it possible to tell mod_jk and tomcat to host the servlets on a secure port other than 80, under apache? and have apache running on port 80 for static files. ie. http://myhost.com/statics/show.html http://myhost.com:XXX/servlets/Hello instead of http://myhost.com/servlets/Hello I understand that this is possible if I don't use mod_jk and run tomcat as stand alone. But I want to use mod_jk and apche as explained above. Thanks -- Sahar Madani Senior Software Engineer
Re: start tomcat under apache, different port
mod_jk and apache don't use tomcat.conf. this file is used for jserv only. the new file is mod_jk.conf-auto But this is NOT what I am trying to do. Thanks Nael Mohammad wrote: In the conf directory, modify the tomcat.conf , search for port 80, but I think the default is 8080. You can change that to whatever you like from that file. -Original Message- From: Sahar Madani [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 2:26 PM To: [EMAIL PROTECTED] Subject: start tomcat under apache, different port Hi I have got tomcat 3.2.3 and mod_jk working with apache 1.3.19 But I don't want to serve the servlets under port 80 where apache is. And I don't want to run tomcat as stand alone. Is it possible to tell mod_jk and tomcat to host the servlets on a secure port other than 80, under apache? and have apache running on port 80 for static files. ie. http://myhost.com/statics/show.html http://myhost.com:XXX/servlets/Hello instead of http://myhost.com/servlets/Hello I understand that this is possible if I don't use mod_jk and run tomcat as stand alone. But I want to use mod_jk and apche as explained above. Thanks -- Sahar Madani Senior Software Engineer -- Sahar Madani Senior Software Engineer Excite@Home http://www.home.net (650)556-5000