LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-10-2013, 07:10 PM   #1
lakhilove
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Rep: Reputation: 0
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
 
Old 11-11-2013, 08:25 AM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
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

Last edited by sag47; 11-11-2013 at 08:42 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple instances of apache2 running? idofxeno Linux - Newbie 16 02-22-2013 12:53 AM
Running Multiple Apache Instances? sjfast911 Linux - Software 3 02-18-2013 07:21 AM
multiple instances of Postgres SQL are listening on port 7337 nkd Linux - Newbie 1 11-16-2012 12:03 AM
Running multiple instances of apache2 jordankoppole Linux - Software 8 04-23-2008 04:55 PM
Why are multiple instances of mysqld running? philpq Linux - Newbie 2 02-17-2005 03:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration