Hi Chris -

Oops - I realize my mistake. I was thinking something entirely different. You should have two <Host> blocks, one for each vhost, one with appBase of /www/cust1 and one with appBase of /www/cust2. Sorry for leading you the wrong way.

If that still doesn't work, email me your server.xml and httpd.conf offline.

Regards,


Lajos


Chris Davies wrote:
Hi,

Sadly this doesn't appear to work.
Both domains get redirected to Tomcat's docBase (in this case /www) and you get
a 404.

Am I formatting the <Context> tags wrong? Can you give me an example of how they
are supposed to look?

Thanks,
C.Davies

Quoting Lajos <[EMAIL PROTECTED]>:


Hi C. Davies -

I can't help you with mod_webapp, which I avoid like the plague, but it would certainly work with mod_jk. Each Apache <VirtualHost> block should

contain a JkMount something like this:

JkMount /*.jsp ajp13

which means that any page ending in *.jsp will be passed to Tomcat. Then, in Tomcat, you can have one <Host> tag, with its docBase pointing to /www, and two <Context>s - "cust1" and "cust2".


Regards,

Lajos





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--



                   Lajos Moczar
      ----------------------------------------
    Open Source Support, Consulting and Training
      ----------------------------------------
            Cocoon Developer's Handbook
 (www.amazon.com/exec/obidos/tg/detail/-/0672322579)

                   _      _____
                  / \         /
                 /___\      /
                /     \   /____

     http://www.galatea.com -- powered by AzSSL


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to