Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cross Context

Status
Not open for further replies.

plunkett

Technical User
Jun 10, 2004
57
US
I have an app thats setup in webapps/testapp

This is accessible through
I"m using an apache front in. What I would like to do is make all requests to point back to Apache, and not Tomcat.

I setup my Context like this...

<Context path="/myfiles" docBase="/opt/jakarta-tomcat-5.0.28/webapps/testapp"
debug="0" reloadable="true" crossContext="true">


What am I missing? (btw, /myfiles directory on the server is an alias to in the apache conf file.)
 
You configure Apache to forward requests to Tomcat - so just make sure you JKMount only what you want, and let apache handle the rest.

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
you are right. I did this..

JkMount /reports/*
JkUnMount /reports/online/*


and it fixed my problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top