Thank you to Michael and Giacomo for their help. After looking through the
Apache documentation on mod_proxy and applying Giacomo's advice, I wound
up with the following..
RewriteRule ^/cocoon/(.*)$ http://cocoonhost:8080/cocoon/$1 [P,L]
ProxyPassReverse  /cocoon/ http://cocoonhost:8080/cocoon/

That was successful. When I tried shortening this a bit to the following,
tomcat session IDs stopped getting through:
RewriteRule ^/(.*)$ http://cocoonhost:8080/cocoon/myapp/$1 [P,L]
ProxyPassReverse  / http://cocoonhost:8080/cocoon/myapp/

What am I missing? Thanks again for all the help..
I've also added the following, although I don't believe it has anything to
do with my problem:
RewriteRule /(static)|(icon)/.* - [L]
This allows me to counter the above rule so I can have images and static
pages served by Apache.

Liam Morley


On Thu, 4 Apr 2002, giacomo wrote:

> We had some issues with ProxyPass (I don't remember right now what it
> was) and used both like this:
>
> RewriteRule ^/cocoon/(.*)$ http://cocoonhost:8080/cocoon/$1 [P,L]
> ProxyPassReverse  /cocoon/ http://cocoonhost:8080/cocoon/
>
> Giacomo
>


---------------------------------------------------------------------
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]>

Reply via email to