I've run into a similar problem and never came to a solid conclusion.
I had setup mod_webapp connector between Apache/Tomcat and whenever
I accessed dynamic content my URL would get rewritten to the value
of the ServerName (in httpd.conf).  I think it has something to do with
UseCanonicalName setting (also in httpd.conf) but I'm really not sure.

I didn't have any <Host> settings (in server.xml);  I didn't even
have a <Context> setting and just let Tomcat autoload my application.

I suppose this doesn't help much but I wanted to add a data point.

K.


> From: Brian Bernardo <[EMAIL PROTECTED]>
> To: 'Tomcat Users List' <[EMAIL PROTECTED]>
> Subject: RE: tomcat/apache with ALIASES (Was canonical names)
> Date: Thu, 25 Apr 2002 09:50:22 -0700
> 
> First of all, I am very proficient with DNS; that was not the question.  I
> want users who go to http://name.domain/webapps to have the same
> webappdeployment as http://name2.domain/webapps.  It is important that
> however they got there (domain prefix) be maintained throughout their
> session.  This works fine for static content, but as soon as anyone goes to
> http://name?.domain/webapps they get redirected over to
> http://ServerName/webapps.  ServerName is defined within the apache
> httpd.conf file (same with vitualhost name).  That is not good.  There has
> to be a way to have either virtual hosts or some method for tomcat to serve
> the same dynamic content regardless of how they got there without
> redirecting.  
> 
> Any one know how to accomplish this?
> 
> B



__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to