You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Lorenzo De Sio <l....@w4b.it> on 2003/03/19 11:49:17 UTC

[SUMMARY] mod_proxy w/ multiple webapps

Thanks, Charles.

I ended up with the following:

RewriteEngine On
RewriteRule "^/webapp/(.*)\.(css|gif|jpg|jpeg)$" "/var/webapps/webapp/$1.$2"
[L]

ProxyPass /webapp/ http://localhost:8080/webapp/
ProxyPassReverse /webapp/ http://localhost:8080/webapp/


which allows selected static content to be served straight from Apache.


L.

-----Messaggio originale-----
Da: Charles Yates [mailto:ceyates@stanford.edu]
Inviato: martedì 18 marzo 2003 19.38
A: cocoon-users@xml.apache.org
Oggetto: Re: Repost: mod_proxy w/ multiple webapps


ProxyPass /webapp1/ http://localhost:8080/lwebapp1/
ProxyPassReverse /webapp1/ http://localhost:8080/webapp1/
ProxyPass /webapp2/ http://localhost:8080/webapp2/
ProxyPassReverse /webapp2/ http://localhost:8080/webapp2/


Lorenzo De Sio wrote:

>Hi all,
>
>did anyone succeed in configuring Apache's mod_proxy to serve Cocoon
>(http://wiki.cocoondev.org/Wiki.jsp?page=ApacheModProxy), mounting it in a
>subdir and not as /?
>
>( original post was
>http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=104764398500822&w=2 )
>
>Cheers,
>
>L.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>
>  
>



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

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