• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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..
 
Ranch Hand
Posts: 464
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic