You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "pmirco@inwind.it" <pm...@inwind.it> on 2002/12/18 13:03:49 UTC
removing cocoon from my url base
I've my cocoon application running on something like:
http://localhost/cocoon/something/mysite
I'd like to get mysite using a simpler URL like:
http://localhost
How can I do this?
I know I can change the Tomcat server.xml, and point the docBase of the ROOT web application to the location of the cocoon web app, for example:
<Context path="" docBase="cocoon" dubug="0" reloadable="true"/>
Now I've
http://localhost/something/mysite
How can I remove "something/mysite" ?
Thanks in advance
Mirco
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: removing cocoon from my url base [performance ??]
Posted by Cocoon User <co...@eng.gr>.
yes but what about the performance
maybe this way has effects to cocoon performance ?
stavros
On Wed, 18 Dec 2002, Luca Morandini wrote:
> Mirco,
>
> I presume something like this:
>
> <map:match pattern="**">
> <map:mount uri-prefix=""
> src="file:///c:/something/mysite/"
> check-reload="yes"
> reload-method="synchron"/>
> </map:match>
>
> should work.
>
> Best regards,
>
> ---------------------------------------------
> Luca Morandini
> GIS Consultant
> lmorandini@ieee.org
> http://utenti.tripod.it/lmorandini/index.html
> ---------------------------------------------
>
>
> > -----Original Message-----
> > From: pmirco@inwind.it [mailto:pmirco@inwind.it]
> > Sent: Wednesday, December 18, 2002 1:04 PM
> > To: cocoon-users
> > Subject: removing cocoon from my url base
> >
> >
> > I've my cocoon application running on something like:
> > http://localhost/cocoon/something/mysite
> >
> > I'd like to get mysite using a simpler URL like:
> > http://localhost
> >
> > How can I do this?
> >
> > I know I can change the Tomcat server.xml, and point the docBase of the ROOT web application to the location of the
> > cocoon web app, for example:
> > <Context path="" docBase="cocoon" dubug="0" reloadable="true"/>
> >
> > Now I've
> > http://localhost/something/mysite
> >
> > How can I remove "something/mysite" ?
> >
> > Thanks in advance
> > Mirco
> >
> >
> > ---------------------------------------------------------------------
> > 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: <co...@xml.apache.org>
> > For additional commands, e-mail: <co...@xml.apache.org>
> >
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: removing cocoon from my url base
Posted by Luca Morandini <lu...@tin.it>.
Mirco,
I presume something like this:
<map:match pattern="**">
<map:mount uri-prefix=""
src="file:///c:/something/mysite/"
check-reload="yes"
reload-method="synchron"/>
</map:match>
should work.
Best regards,
---------------------------------------------
Luca Morandini
GIS Consultant
lmorandini@ieee.org
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------
> -----Original Message-----
> From: pmirco@inwind.it [mailto:pmirco@inwind.it]
> Sent: Wednesday, December 18, 2002 1:04 PM
> To: cocoon-users
> Subject: removing cocoon from my url base
>
>
> I've my cocoon application running on something like:
> http://localhost/cocoon/something/mysite
>
> I'd like to get mysite using a simpler URL like:
> http://localhost
>
> How can I do this?
>
> I know I can change the Tomcat server.xml, and point the docBase of the ROOT web application to the location of the
> cocoon web app, for example:
> <Context path="" docBase="cocoon" dubug="0" reloadable="true"/>
>
> Now I've
> http://localhost/something/mysite
>
> How can I remove "something/mysite" ?
>
> Thanks in advance
> Mirco
>
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>