Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Setting up Apache to serve static pages for 2 tomcats |
|
Author |
|
raddison
Joined: 09 Sep 2008 Posts: 1 Location: Daly City, CA
|
Posted: Tue 09 Sep '08 23:06 Post subject: Setting up Apache to serve static pages for 2 tomcats |
|
|
I am hoping that someone out there has run into this before. I have an application that runs in Tomcat. I have two instances of this application running on a single server. There is an Apache Server in front of this application performing load balancing.
The issue I have is when setting Apache to serve the static pages it requires the URI-PATH and the directory path. Both application instances will have the same URI as far as apache sees. The only thing that will be different will be the directory path. So for an example:
Alias /desktop "<Desktop Installation>/webapps/desktop1"
Alias /desktop "<Desktop Installation>/webapps/desktop2"
How is it possible to do this? I was hoping that using the jvmRoute would help because they are unique to each application instance.
Any help would be appreciated. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 10 Sep '08 9:58 Post subject: |
|
|
There is no chance to use one url twice. |
|
Back to top |
|
|
|
|
|
|