Brian Bernardo wrote:

> 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

Small correction... Sorry... It's the pedant in me...

What you're using (Or trying to use)  is aliases... The DNS records (CNAME etc
al) are named after what they point AT (or more accurately) resolve to. Thus
the CNAME record (Canonical name) points or resolves to the REAL name of the
host. (Literally, the dictionary term for canonical is the real one). Just like
the A record resolves TO the address...




>
> <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

--

I don't suffer from Insanity...         | Linux User #16396
        I enjoy every minute of it...   |
                                        |
http://www.travellingkiwi.com/          |




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

Reply via email to