niether of it works, for some unknows reason it tried to look for /app1
under document root.



On Tue, Dec 29, 2015 at 7:54 PM, Yann Ylavic <ylavic....@gmail.com> wrote:

> On Tue, Dec 29, 2015 at 3:16 PM, Yann Ylavic <ylavic....@gmail.com> wrote:
> >
> > You possibly need something like:
> >
> >     RewriteRule ^/app1/(.*)
> > http://host_name1:app1_port/app/WebObjects/app.woa/$1 [P]
> >     RewriteRule ^/app2/(.*)
> > http://host_name2:app2_port/app/WebObjects/app.woa/$1 [P]
> >     <Proxy "http://host_name1:app1_port/app/WebObjects/app.woa/";>
> >     </Proxy>
> >     <Proxy "http://host_name2:app2_port/app/WebObjects/app.woa/";>
> >     </Proxy>
>
> Or maybe even simpler:
>     ProxyPass /app1/ http://host_name1:app1_port/app/WebObjects/app.woa/
>     ProxyPass /app2/ http://host_name2:app2_port/app/WebObjects/app.woa/
>     ProxyPassReverse /app1/ http://host_name1:app1_port
> /app/WebObjects/app.woa/
>     ProxyPassReverse /app2/ http://host_name2:app2_port
> /app/WebObjects/app.woa/
>
> Doesn't this work?
>
> Regards,
> Yann.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

Reply via email to