You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by go...@osmosis.gr on 2004/03/03 10:08:24 UTC

Re: HELP: redirection to home page doesn't work under apache/tomcat/c ocoon

i had the same problem solved changing the position in main sitemap where 
sub sitemap is mounted..


hope that this can help you

--stavros



On Tue, 2 Mar 2004 H.vanderLinden@MI.unimaas.nl wrote:

> Hello,
> 
> could someone shed a light on the following:
> 
> apache 2.???
> tomcat 4.1.27
> cocoon 2.1.1
> on red hat linux
> 
> What we've done is build a webapp in a subdir of cocoon under tomcat, i.e.
> /<tomcat>/webapps/cocoon/myapp which has its own sitemap.
> 
> everything is handled in this sitemap, i.e. there are only references to
> files in or below the myapp dir. 
> 
> We've followed the instructions in the Cocoon wiki ApacheModProxy and added
> the following lines to the VirtualHost section (forgive the syntax errors, I
> can't remember the correct terms):
> 
> ProxyPass             / http://localhost:8080/cocoon/myapp/
> ProxyPassLocation     / http://localhost:8080/cocoon/myapp/
> 
> This results in correct urls (i.e. http://myapp.mydomain.com/whatever.html),
> except for the normal redirections to the homepage.
> 
> In detail:
> 
> http://myapp.mydomain.com/home.html -> shows homepage
> 
> But these give errors about pipelines not found:
> http://myapp.mydomain.com
> http://myapp.mydomain.com/
> 
> while the sitemap contains redirects to home.html for "" and for "/". It
> seems as if the "" pipeline in the root sitemap is trying to handle this,
> but removing that one doesn't solve the problem.
> 
> I hope some of you have an idea.
> 
> thanks and bye, Helma
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org