There is a brand new wiki page on this.
You may look into it at
http://wiki.cocoondev.org/Wiki.jsp?page=BeginnerSimpleWebappOrganisation
It is in the draft state right now, but i would be pleased, if you
comment on it.
the page misses one step that is needed for your requirements.
Howto omitt "cocoon" from your http request.
there is some documentation on this withion the official
cocoon docs.
in short terms:
go to tomcat conf/server.xml
add a Default Context for your app.
If you use a NEWER version of tomcat, (tomcat-4.1.16++)
you MUST take out cocoon from the default webapps directory
and put it somewherre else and define that location
within the Context. this is very brief answer.
for more detailed look into the Wiki or the cocoon docs.
regards, hussayn
Anna Afonchenko wrote:
Hi all.
We have our web app under CATALINA_HOME/webapps/cocoon/ub
which can be accessed on the webserver by
http://domain.name:8080/cocoon/ub/*
However, we want to put the ub directory under /home/cocoon/ub and to
access it by http://domain.name/ub/*
We can move the directory to /home/cocoon/ub, and therefore not under
webapps/cocoon and call it by using a sub sitemap with the URL
http://domain.name:8080/cocoon/ub/*
But how do we lose the :8080/cocoon from the request URL?
We are using apache 1.1 and the latest tomcat and cocoon and the jk1
bridge between tomcat and apache. The system is a linux box.
I can modify the workers.properties file so that it mounts
http://domain.name/ub to tomcat and then put a symbolic link in the
tomcat web-apps directory to /home/cocoon/ub but this is both an ugly
and not very stable solution.
Thank you very much for your help
Anna Afonchenko and Spencer Bruce
--
Dr. Hussayn Dabbous
SAXESS Software Design GmbH
Neuenho"fer Allee 125
50935 Ko"ln
Telefon: +49-221-56011-0
Fax: +49-221-56011-20
E-Mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>