Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

where to put my index.jsp? redhat7.2+apache1.3+tomcat4

 
Caven Wang
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have installed my tomcat4.01 and apapche 1.3 on redhat7.2 , by using webapp.so to connect tomcat and apache.
with http://localhost, I could see tha default page of apache; and I also see tomcat default page via http://localhost:8180 or examples files via http://localhost/examples/.
now, what should I do if I want to see my index.jsp at http://localhost?

apache base docu directory: /var/www/html
tomcat base docu directory: /var/tomcat4/webapps
[ June 03, 2002: Message edited by: Caven Wang ]
 
Adam Hardy
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm winging it on this one coz I've never done it, but if you currently see your default tomcat page on localhost:8180 but you want to see it on straight localhost, then you need to configure the apache to pass the request along.
On tomcat, your default page should replace the tomcat default page in web-apps/ROOT or wherever you specified in web.xml, and also check the welcome-file list in web.xml (or is it server.xml?)
Adam

PS See the other thread here - tomcat with apache
[ June 05, 2002: Message edited by: Adam Hardy ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic