Re: Apache and Tomcat virtual question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2006-10-08 at 18:34 -0700, M E Fieu wrote:
> Hi.. My unix host is installed with tomcat and apache and my tomcat is listen on 8080 port.  And
> my java application is installed at this folder /usr/java/apps/ (example) with /ABC as context
> path. Right now,when users access http://myserver.com/ABC or http://myserver.com:8080/ABC, it will
> go to the java web application.  But I would like to create a virtual host so that whenever user
> access http://ABC.com:8080 will go to Java application (of course we will set ABC.com to the
> server IP in DNS). Where and how should i configure it? httpd.conf or server.xml ?

That would depend on how your hosting provider has setup Apache and
Tomcat. If Apache is configured as the front-end, then the virtual host
configuration goes into Apache. 

Also, it depends on whether all your virtual hosts need access to the
same web application, or they will be deploying different web
applications.

For your requirements, I think the easiest way to accomplish this is to
setup virtual hosting on Apache and force it to hand-off all requests to
Tomcat, but that means that you will have to block port 8080.

HTH
-- 
Pascal Chong 
email:  chongym@xxxxxxxxxxxxxx 
web:    http://cymulacrum.net
pgp:    http://cymulacrum.net/pgp/cymulacrum.asc

"La science ne connaît pas de frontière parce que la connaissance
appartient à l’humanité. et que c’est la flamme qui illumine le monde."

-- Louis Pasteur

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux