running multiple instances on port 80
Hi ,
I want to run multiple instances of multiple virtual hosts/server on port 80 on one server of Fedora 18/RHLE 6.3 as a NON ROOT USER . I have Fedora 18/rhel Ent 6.4, running tomcat 6.0.36, have four web services on one server server i.e eth0...www.x1.com eth1 ..www.x2.com eth3 ...www.x3.com ... want to run on port 80 as a tomcat user, due to limit on Fedora/RHEL (<1024 ports) I can't, Googled, some suggest use iptables (which is good if you have one instance on server...not reliable for multiple instances..too many rules), jsvc (i am not sure) and apache web server. Is their any way I can give user privilage to run on port 80 or some packages available? In Solaris I give user rights to run on port 80 Refgards |
Tomcat can handle multiple domains just like Apache httpd can. Then you can use iptables to forward 8080 <-> 80 as you wish. This means a single app server for multiple webapps directories. Your other alternative is to use mod_proxy_ajp (recommended) or mod_proxy_http with Apache httpd and proxypass your app servers. This method would use Apache httpd vhosts and httpd as a front end for your app servers.
SAM |
All times are GMT -5. The time now is 12:54 PM. |