tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Alias' and the like
Date Wed, 12 Jul 2006 17:45:25 GMT
Hello Dave
Option #2
allows you to access seemlingly disprate sites thru Virtual Hosts check out
http://httpd.apache.org/docs/1.3/vhosts/examples.html#serverpath
HTH
Martin--
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.



----- Original Message ----- 
From: <dhay@lexmark.com>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Wednesday, July 12, 2006 1:29 PM
Subject: Alias' and the like


> Bump!
> 
> Would really appreciate some help on this one...
> 
> cheers,
> 
> David
> 
> ----- Forwarded by David Hay/Lex/Lexmark on 12/07/2006 13:29 -----
> |---------+---------------------------->
> |         |           dhay@lexmark.com |
> |         |                            |
> |         |           11/07/2006 13:03 |
> |         |           Please respond to|
> |         |           "Tomcat Users    |
> |         |           List"            |
> |         |                            |
> |---------+---------------------------->
>  >-----------------------------------------------------------------------------------------------------------------|
>  |                                                                                  
                              |
>  |       To:       "Tomcat Users List" <users@tomcat.apache.org>              
                                    |
>  |       cc:                                                                        
                              |
>  |       Subject:  Alias' and the like                                              
                              |
>  >-----------------------------------------------------------------------------------------------------------------|
> 
> 
> 
> Hi,
> 
> We're running Apache in front of multiple tomcats with mod_jk.
> 
> We have an admin app that we'd like to access using a different URL from
> other server connections, and I am looking for advice on the best way to do
> this.  We will have the single web app, but need to access parts of it
> from:
> 
>      http://myserver/admin
> 
> and the rest of it from
> 
>      http://myserver/services
> 
> I think I have several choices:
> 
> 1)  add a Tomcat context for /admin and /services in the conf directory.
>     When I tried this, however, it seemed to load the whole web app twice
> (we're using Spring, so it loads the app Context twice ).  Is there a way
> to just "point to it", rather than load it?
> 
> 2)  add an Alias in Apache's httpd.conf
>      what do I point it to seeing that it has to go through mod_jk and
> tomcat?
> 
> 3)  use mod_jk
>      how would I do that?  we currently have 3 load balancers defined, so
> we can balance 3 aspects of the system as follows:
>      JKMount /services/admin/* adminloadbalancer
>      JKMount /services/httpadaptor/* adaptorloadbalancer
>      JkMount /services/* clientloadbalancer
>     I'd like to do JKMount /admin/* adminloadbalancer but  need the alias
> for /admin to point to /services/admin.
> 
> I would be very grateful if someone could explain the best option...
> 
> cheers,
> 
> David
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
>
Mime
View raw message