This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Tomcat and the fly likes workers2.props config Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "workers2.props config" Watch "workers2.props config" New topic
Author

workers2.props config

question question
Greenhorn

Joined: Oct 17, 2005
Posts: 1
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

Joined: Jan 10, 2002
Posts: 56185
    
  13

"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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: workers2.props config
 
Similar Threads
Default Page, How?
Basic of a web service client
how to redirect from apache to tomcat..?
HTTPS over Apache
Url gets changed on mapping