I am trying to use canonical names under apache 1.3.20 to work with tomcat
4.01.  Right now when I go to http://cname1.domain/webapps
<http://cname1.domain/webapps>  I get forwarded to http://servername/webapps
<http://servername/webapps>  where "servername" is the ServerName set within
the apache global config.  I want to be able to use canonical names with DNS
to send cname1, cname2 and cname3 to ServerName, but keep the user supplied
URL (usecanonicalname off).  With this setup static pages work great, but
tomcat supplied pages break:

http://cname1.domain/webapps <http://cname1.domain/webapps>   ends up being
redirected to http://servername/webapps <http://servername/webapps> 

Is there a way around this?  I really need to keep the user supplied domain
prefix (cname) their entire session.

This is running on a Solaris 8 box and here is my WebAppDeploy line.  It
appears to deploy under whatever the ServerName name is as its targetHost
and cannot deviate from that.  

<IfModule mod_webapp.c>
WebAppConnection conn warp localhost:8008
WebAppDeploy    ../../../../webapps   conn    /webapps/
</IfModule>

-Brian

Reply via email to