cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Cocoon and VirtualHosts - Big problem!
Date Wed, 17 Nov 2004 11:02:25 GMT

we serve several domains in the same box using apache at front
take a look here:


On Wed, 17 Nov 2004, Andy Savage wrote:

> Hello Guys
> I'm having a real issue!! I swear I'm about to go insane if I can't make 
> some progress. Basically, I'm a web host attempting to setup shared 
> Tomcat/Cocoon access (only installing one instance but sharing it 
> between different customers).
> I've setup Apache2 via VirtualHosts to pass the appropriate request onto 
> Tomcat using mod_jk2. Tomcat understands these and on it's own appears 
> to work fine. I'm unsure how to go about this when adding cocoon to the 
> mix. I had a good read of the Wiki and it appeared that I had found some 
> helpful documentation.
> Firstly I read over the VirtualHosts tutorial using the WildCardHost 
> Matcher ( 
> However the issue with this is the fact that the setup is 
> /username/sitename/public_html (eg /bob/
> Therefore, Cocoon would have no idea what the username is. I will be 
> writing a tool to automate editing of the sitemap.xmap file, once I get 
> it working, so adding a host entry for each person is fine with me.
> Currently, I have cocoon set as the default site in Tomcat. So, if I 
> were to goto it would send the request to Tomcat which would 
> send it to the default handler of cocoon. Cocoon however doesn't seem to 
> understand any hosts apart from the default one. I have setup the 
> sitemap using one host via the wiki tutorial 
> ( But to no avail, when I 
> goto the site it simply hits me with the default cocoon page.
> What's the next step? Any ideas why it's doing this? I really need some 
> help here as I'm still learning how to use cocoon.
> Kind Regards,
> Andy Savage
> --
> Bluewire Solutions
> Position: Partner
> Contact: +64 27 4678 262
> Website:
> Email:
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message