to elaborate more, the first page comes up fine, and which is exactly same
for app1 and app2 (these are exactly the same apps just separated by
instances to have different configurations in the UI, and assigned for
different groups doing the same functionality), problem comes up when i hit
on any other hyperlink from first page, it always lands up on the app1
(This is with the original configuration i had posted)

On Wed, Dec 30, 2015 at 7:18 PM, chetan jain <[email protected]> wrote:

> 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 <[email protected]> wrote:
>
>> On Tue, Dec 29, 2015 at 3:16 PM, Yann Ylavic <[email protected]>
>> 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: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>

Reply via email to