LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-28-2011, 01:41 AM   #1
aggrishabh
Member
 
Registered: Nov 2010
Posts: 87

Rep: Reputation: 1
Apache tomcat help


Hi All,

I configured Apache tomcat on CentOS 5.5 as illustrated in following link (http://www.puschitz.com/InstallingTomcat.html) it works fine.Thanks to Werner Puschitz.
I created two instances on port 8080 and 8081. both works well.
for accessing first instance i give http://localhost:8080/mywork
and for 2 instance give http://localhost:8081/mytest

Now my Questions are:

1) how to hide port no behind the url or i can say how to access these sites with the help of URL only.
2) how to access both pages through the other computer over the LAN which is connected to internet.
3) if at any time frame one site goes down and i have to restart the apache service to bring that site up then how to prevent other site running from going down in that time frame.
 
Old 04-28-2011, 08:53 AM   #2
savona
Member
 
Registered: Mar 2011
Location: Bellmawr, NJ
Distribution: Red Hat / Fedora
Posts: 195

Rep: Reputation: 50
Removed

Last edited by savona; 04-28-2011 at 12:50 PM.
 
Old 04-28-2011, 12:47 PM   #3
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by aggrishabh
1) how to hide port no behind the url or i can say how to access these sites with the help of URL only.
Use mod_proxy_ajp.

Do not run Tomcat on port 80. (Doing so requires running it as root. Don't do that.)

Quote:
Originally Posted by aggrishabh
2) how to access both pages through the other computer over the LAN which is connected to internet.
Use mod_proxy_ajp.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Session replication using apache+mod_jk+tomcat(5.5.28-veriosn of tomcat) sreejithp Linux - Server 1 12-24-2010 07:46 AM
apache-tomcat and jakarta-tomcat shifter Programming 1 07-28-2007 11:36 PM
Apache 2.2.0 and Apache-Tomcat 5.5.17, how can i connect them? Ukitake Fedora 1 06-04-2006 09:25 AM
Why use Apache with Tomcat rather than just Tomcat itself? davee Linux - Software 1 08-21-2003 10:47 PM


All times are GMT -5. The time now is 08:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration