Re: Help with Apache configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux