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:[EMAIL PROTECTED]
Inviato: marted́ 18 marzo 2003 19.38
A: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to