Seems its all workin now :-) i went back to cocoon 2 the next stage is to get so i can do
http://localhost:8080/lnxserv instead of the http://localhost:8080/cocoon/lnxserv i read in the FAQ about the apache rewrite mod i have it loaded and my apache has some perl stuff in it for redirect do i add the cocoon redirect stuff in with the perl stuff ?? or where do i add it the perl stuff is <IfDefine PERLPROXIED> RewriteEngine on RewriteRule ^proxy:.* - [F] RewriteRule ^(.*\/perl\/.*)$ http://%{HTTP_HOST}:8200$1 [P] RewriteRule ^(.*\/cgi-perl\/.*)$ http://%{HTTP_HOST}:8200$1 [P] </IfDefine> so where would i add the code for the cocoon stuff i know the rewrite module is loaded cos its at the top of the httpd.conf and what would be the code to redirect the http://localhost:8080/lnxserv so i went to the http://localhost:8080/cocoon/lnxserv ?? as i tried the exmaple in the faq and it didnt work Ta On Tue, 2002-05-21 at 09:30, Graaf, Edgar de (fin) wrote: > 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:[EMAIL PROTECTED]] > Verzonden: dinsdag 21 mei 2002 9:32 > Aan: [EMAIL PROTECTED] > 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: <[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]> > --------------------------------------------------------------------- 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]>