• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

workers2.props config

 
question question
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've got an app named /myapp that is connected to tomcat through apache via modjk. I've mapped the whole (/myapp/*) context to tomcat, but I want there to be one exception. I want /myapp/resources to be served by apache. I've created the directory /var/www/html/myapp/resources, but how do I tell the workers2.props or some other file to make this exception?

I know that I could map /myapp/servlet/* and /myapp/*.jsp, but I've got servlets mapped in the web.xml. I access the login servlet as /myapp/login, so I can't use /myapp/servlet/*

Any help will be appreciated.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64613
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"question question",

There aren't may rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
Forum Bartender
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic