httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chetan jain <cpjai...@gmail.com>
Subject Re: [users@httpd] Help with Apache configuration
Date Wed, 30 Dec 2015 13:48:26 GMT
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.dev@gmail.com> wrote:

> On Tue, Dec 29, 2015 at 3:16 PM, Yann Ylavic <ylavic.dev@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-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message