we serve several domains in the same box using apache at front
take a look here:
http://wiki.apache.org/cocoon/VirtualHost

--stavros



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 (http://wiki.apache.org/cocoon/VirtualHostingHostMatcher). 
> However the issue with this is the fact that the setup is 
> /username/sitename/public_html (eg /bob/bob.com/public_html
> 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 bob.com 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 
> (http://wiki.apache.org/cocoon/HostSelector). But to no avail, when I 
> goto the site bob.com 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: www.bluewire.net.nz
> Email: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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

Reply via email to