Conny, you may use Apache mod-rewrite for hiding "/cocoon" (though it will show in the browser after redirection). There is an entry about this in the Cocoon FAQ.
Another possibility is deploying Cocoon as a root Tomcat context... though I don't know whether this is still possible in Tomcat 4.0. If you come up with a better solution, would you mind update the FAQ entry on this topic ? It is a VFAQ (Very Frequently Asked Question) and I'd love to have it solved for good. Best regards, --------------------------------------------- Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html --------------------------------------------- > -----Original Message----- > From: Kreyßel, Conny [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 09, 2002 4:03 PM > To: [EMAIL PROTECTED] > Subject: Virtual-domain-directorys in Cocoon2 > > > Hi, > > I have installed a Apache- and a Tomcat 4-Server and now I have configured > the Apache that for all domains the /go subdirectory forward to the > cocoon-app via mod_webapp. > > And now my problem. I could use a subdirectory for every domain like this: > > /cocoon/domain1 > /cocoon/domain2 > /cocoon/domain3 and so on. > > And when I would use Cocoon with domain1 I had to access the server like > this: http://domain1/go/domain1/file.xml > > Ok fine. But I would use a structure like that http://domain1/go/file.xml > and Cocoon should alone internal-redirect or -access the > "virtual-domain"-subdirectory. > > I could deploy Cocoon for every domain but this would not be so nice. > > Can you help me how can I implement this? > > > Best regards > > Conny Kreyßel > > INTER-FORUM AG > Sommerfelder Str. 120 > 04316 Leipzig > Germany > > Tel.: +49-341-25 92 00 > Fax : +49-341-25 92 020 > WWW : http://www.inter-forum.de/ > eMail: mailto:[EMAIL PROTECTED] > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>