aspose file tools*
The moose likes Tomcat and the fly likes Tomcat on winxp local machine and apache on linux server(dedicated ip) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat on winxp local machine and apache on linux server(dedicated ip)" Watch "Tomcat on winxp local machine and apache on linux server(dedicated ip)" New topic
Author

Tomcat on winxp local machine and apache on linux server(dedicated ip)

indika prasad kularathne
Greenhorn

Joined: Oct 14, 2004
Posts: 20
Hi every one..

my tomcat server run on win2000 on local network machine.
Our web server run on redhat 9 using apache(www.ourdomain.com).

Now i want to publish my web pages(created by using jsp) located on win2000 machine, to the out side through apache webserver(www.ourdomain.com).
ex:- when some one hit www.ourdomain.com/mypage it should go to the my local machine webpages.(jsp)

please help me..

thanks..
Rick Beaver
Ranch Hand

Joined: Dec 14, 2004
Posts: 464
Changed - I thought of something else.

1.Start your Windoze 2k box up on a different port number to the external site (which is probably 80, so say 90 for the internal one).
2. Set up NAT on your external router to route traffic to port 90 on your internal machine.
3. Add the following line to the head of the index file at http://www.ourdomain.com/mypage/

<META HTTP-EQUIV=refresh CONTENT="0, url=www.ourdomain.com:90/yourpagefromdocroot.jsp">

This should do it I think
[ January 12, 2005: Message edited by: Nick Leaver ]

ph34r my 133t j4v4 h4><0r1ng sk177z
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat on winxp local machine and apache on linux server(dedicated ip)
 
Similar Threads
How to run xwindows from the Client Machine
Help me, a question about Apache Tomcat
Axis Web Service Client : NullPointerException
Run Tomcat on local machine..
How to set Alias name for URL or change URL