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!

directory alias in standalone tomcat?

Status
Not open for further replies.

has207

Programmer
Aug 27, 2004
2
US
Hi All,

I have a potentially dumb question, but I've struggled for awhile to figure it out and haven't come up with a good solution yet. What I want to do is map a directory in the URL to a directory on the filesystem, similar to the Apache Alias directive. The only solution I've come up with so far is to declare a separate context for the directories in question but that doesn't seem like a very clean approach and it breaks the custom 404's since they are located relative to the context root rather than base URL. Is there another way this can be accomplished?

TIA,

-Herman
 

That's why they came up with mod_jk for apache. They didn't want to implement all the functionality of apache in tomcat.

 
so is it just not supported in Tomcat at all? Seems hard to believe since it's such a basic thing...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top