Re: Help with Apache configuration

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

 



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  #	
###############################

[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