cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graaf, Edgar de (fin)" <Edgar.de.Gr...@ordina.nl>
Subject RE: Cocoon one step closer
Date Tue, 21 May 2002 08:30:08 GMT
try:
<map:pipeline>
	<map:match pattern="lnxserv/**">
		<map:mount uri-prefix="lnxserv" src="lnxserv/"
check-reload="yes" />
	</map:match>

	<map:match pattern="lnxserv">
		<map:redirect-to uri="lnxserv/index.html" />
	</map:match>
</map:pipeline>
<!--</map:match>-->



by the way this should work:
Instead of:
<map:match pattern="index.html">
	<map:read src="static/index.html" />
</map:match>

<map:match pattern="*.html">
	<map:read src="static/{../1}.html" />
</map:match>

-----Oorspronkelijk bericht-----
Van: Stephen Smithstone [mailto:stephen.smithstone@btinternet.com]
Verzonden: dinsdag 21 mei 2002 9:32
Aan: cocoon-users@xml.apache.org
Onderwerp: Cocoon one step closer


Ok seems i have cocoon workin in some respects now :-)

I just downloaded the cocoon2 and not 2.0.2 and now i can get to
transform

however it only picks up on

localhost:8080/cocoon/lnxserv/

and not

localhost:8080/cocoon/lnxserv

heres my cocoon sitemap entry for the lnxserv

<map:pipeline>
	<map:match pattern="lnxserv/**">
		<map:mount uri-prefix="lnxserv" src="lnxserv/"
check-reload="yes" />
	</map:match>
</map:match>

my site map is working in the lnxserv/ cos once u go to lnserv/ it loads
up the index.html file how ever i will add it to the end here


<map:match pattern="">
	<map:redirect-to uri="index.html" />
</map:match>

<map:match pattern="index.html">
	<map:read src="static/index.html" />
</map:match>


Any help would help as im nearly there now :-)

Ta

Stephen








---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message