Hi Jain,

did you configure those in the same virtualhost-Block?

Am 18.12.2015 um 14:35 schrieb chetan jain:
#For app-1

   RewriteRule ^/app1$ /app1/ [R]
   RewriteRule ^/app1/(.*) /app/WebObjects/app.woa/$1 [P]
ProxyPass /app/WebObjects/app.woa/ http://host_name1:app1_port/app/WebObjects/app.woa/ ProxyPassReverse /app/WebObjects/app.woa/ http://host_name1:app1_port/app/WebObjects/app.woa/

# For app-2

   RewriteRule ^/app2$ /app2/ [R]
   RewriteRule ^/app2/(.*) /app/WebObjects/app.woa/$1 [P]
ProxyPass /app/WebObjects/app.woa/ http://host_name2:app2_port/app/WebObjects/app.woa/ ProxyPassReverse /app/WebObjects/app.woa/ http://host_name2:app2_port/app/WebObjects/app.woa/

If this the case try to encapsulate the two blocks in separate Location-Blocks (like <Location /app1/> etc..

Kind regards,
Tobias Adolph

--
###############################
# Tobias Adolph               #         
# Leibniz-Rechenzentrum       #
# Zimmer I.2.019              #
# Boltzmannstraße 1           # 
# 85748 Garching bei München  # 
###############################

Reply via email to